Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECMAscript - static properties #5157

Open
giffeler opened this issue Oct 27, 2019 · 1 comment
Open

ECMAscript - static properties #5157

giffeler opened this issue Oct 27, 2019 · 1 comment

Comments

@giffeler
Copy link

class FakeMath {
  // `PI` is a static public property.
  static PI = 22 / 7; // Close enough.

Public and private static properties

@giffeler giffeler changed the title ECMAscript - Public and private static properties ECMAscript - static properties Oct 27, 2019
@Schweinepriester
Copy link
Contributor

Available via MDN now: https://caniuse.com/?search=javascript+static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants