proposal-private-fields-in-in
EcmaScript proposal to provide brand checks without exceptions (by tc39)
proposal-class-brand-check
JavaScript proposal to provide class brand checks (by hax)
proposal-private-fields-in-in | proposal-class-brand-check | |
---|---|---|
3 | 2 | |
29 | 18 | |
- | - | |
2.8 | 0.0 | |
almost 3 years ago | about 2 years ago | |
HTML | HTML | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-private-fields-in-in
Posts with mentions or reviews of proposal-private-fields-in-in.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-13.
-
JS classes are not “just syntactic sugar”
I believe this was true, but it is becoming increasingly untrue as the spec gives more and more abilities and semantics to classes. Like, as you say, private fields, and more on the way.
-
What is the current state of private fields in ES6 classes?
Ergonomic brand checks for Private Fields
-
Updates from 80th TC39 meeting
Ergonomic Brand Checks for Private Fields: Check if an object has a private field, and if not, have some fallback behavior.
proposal-class-brand-check
Posts with mentions or reviews of proposal-class-brand-check.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-28.
-
Do ES6 objects know their class?
In the future this will be made easier with a built-in hasInstance meta method.
-
Updates from 80th TC39 meeting
Class brand check: class.hasInstance a meta method to check whether o have the class brand of C.
What are some alternatives?
When comparing proposal-private-fields-in-in and proposal-class-brand-check you can also consider the following projects:
proposal-intl-DateTimeFormat-formatRange - ECMA 402 proposal for DateTimeFormat.prototype.{formatRange,formatRangeToParts}
proposal-private-methods - Private methods and getter/setters for ES6 classes
proposal-intl-eradisplay - Intl.DateTimeFormat displays era field only if date displayed is in same era as today's
proposal-json-modules - Proposal to import JSON files as modules
RegExp.escape - Proposal for investigating RegExp escaping for the ECMAScript standard
proposal-class-fields - Orthogonally-informed combination of public and private fields proposals
proposal-private-fields-in-in vs proposal-intl-DateTimeFormat-formatRange
proposal-class-brand-check vs proposal-intl-DateTimeFormat-formatRange
proposal-private-fields-in-in vs proposal-private-methods
proposal-class-brand-check vs proposal-intl-eradisplay
proposal-private-fields-in-in vs proposal-json-modules
proposal-class-brand-check vs RegExp.escape
proposal-private-fields-in-in vs proposal-class-fields