proposal-numeric-separator
proposal-weakrefs
proposal-numeric-separator | proposal-weakrefs | |
---|---|---|
12 | 8 | |
318 | 392 | |
- | - | |
0.0 | 2.1 | |
almost 3 years ago | over 2 years ago | |
HTML | HTML | |
- | - |
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-numeric-separator
- Twitter open sourced the recommendation engine
- A proposal to add numeric literal separators in JavaScript
-
Backdoors can be hidden in JS code using "invisible" variables. Code looks completely harmless.
Numeric Separators: https://github.com/tc39/proposal-numeric-separator
-
Numeric separators
GitHub - tc39/proposal-numeric-separator: A proposal to add numeric literal separators in JavaScript.
- New features in ES2021
-
ES2021 Features! 🔥
Numeric Separators
-
New ES2021 JavaScript features (now available)
📙 Proposal
-
Upcoming JavaScript Features in 2021
More info: TC39 proposal, ageek, V8
-
ES2021 new features
For more information, you can visit this link.
-
To improve readability for numbers, you can use underscore as a separator!
See https://github.com/tc39/proposal-numeric-separator for a list of examples in C++ and other languages.
proposal-weakrefs
- New features in ES2021
-
Javascript ES2021 Summary
The WeakRef Proposal has some examples.
-
ES2021 Features! 🔥
WeakRefs and FinalizationRegistry Objects
-
New ES2021 JavaScript features (now available)
But if you're interested, feel free to read more in the original proposal.
-
New JavaScript Features ECMAScript 2021 (with examples)
For that reason, use WeakRef is not recommended and it’s best to avoid implementing one if possible. Unless you’re a JavaScript library maintainer, you will most likely never need to use it. More information WeakRefs TC39 proposal
-
Upcoming JavaScript Features in 2021
Weak references (WeakRef and FinalizationRegistry)
-
Upcoming Interesting JavaScript ES2021 (ES12) Features to Look for
One important thing about WeakRef and finalizers. The proposal for this feature itself advises not to use them. One reason is that they can be unpredictable. Another one is that they don't really help garbage collection do its job. They can actually make it job harder. You can read more about the reasons in the proposal.
-
ES 2021 features (all 5 of them)
Also not shown but a part of the WeakRefs proposal is FinalizationRegistry. Example:
What are some alternatives?
eslint-plugin-unicorn - More than 100 powerful ESLint rules
proposals - Tracking ECMAScript Proposals
babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.
proposal-regexp-match-indices - ECMAScript RegExp Match Indices
proposal-promise-any - ECMAScript proposal: Promise.any
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
the-algorithm-ml - Source code for Twitter's Recommendation Algorithm
v8.dev - The source code of v8.dev, the official website of the V8 project.
proposal-intl-DateTimeFormat-formatRange - ECMA 402 proposal for DateTimeFormat.prototype.{formatRange,formatRangeToParts}
proposal-logical-assignment - A proposal to combine Logical Operators and Assignment Expressions
proposal-string-replaceall - ECMAScript proposal: String.prototype.replaceAll