proposal-bind-operator
proposal-json-modules
proposal-bind-operator | proposal-json-modules | |
---|---|---|
8 | 8 | |
1,738 | 263 | |
0.2% | 1.9% | |
0.0 | 4.9 | |
over 6 years ago | 4 months ago | |
HTML | ||
- | Apache License 2.0 |
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-bind-operator
-
Pipe Operator (|>) For JavaScript
There was also a different proposal that allows objects to be extended: https://github.com/tc39/proposal-bind-operator
Personally, I don't use classes much, but sometimes I think free functions a little bit hard to find, so I tend to experiment with the following pattern.
interface User { … }
const User = {
- Why Would Anyone Need JavaScript Generator Functions?
-
JavaScript Evolutsiyasi Qisqa Satrlarda!
Yangi bind operatori Function.prototype.bind ni yanada elegant tarzda ishlatish imkonini beruvchi yangi sintaksis
-
JavaScript tutorials
In modern JS, you can export each function directly without putting them in an object. It also allows you to call a function with a specific “this” value, function.bind(object)(args). As a matter of fact, there’s a syntax proposal proposal and to do exactly this, object::function(args). This proposal could make what you describe pretty popular.
-
Can't wrap my head around a thing about modules
Hey, not yet ;)
-
10+ Interesting ECMAScript Proposals
This binding syntax (::)
-
I've used the pipe() function 2,560 times and I can tell you it's good!
You'd need 4 periods.
-
[AskJS] Sensible Prototype Extensions?
I don't think you want realms so much as protocols or extensions, the latter assimilating the beloved bind operator.
proposal-json-modules
-
How to import json files in js
In the future we should be able to do this without the help of bundlers. For more information on that proposed feature, see: https://github.com/tc39/proposal-json-modules
-
Using NPM Programatically
Note that you'll need to specify the json import assertion here to import this as a JSON module
- Jak korzystać z natywnych modułów ES
- Cómo utilizar los módulos nativos de ES
-
How to use native ES modules
Import types other than JS. Some other files are in the pipeline JSON, but it will be a long time before we get it in the browser.
-
10+ Interesting ECMAScript Proposals
JSON Modules
- Ecma TC39: JSON Modules: Stage 3 Review
-
Updates from 80th TC39 meeting
JSON modules: ability to import a JSON module in a common way across JavaScript environments.
What are some alternatives?
proposal-generator-arrow-functions - ECMAScript proposal: Generator Arrow Functions
proposal-temporal - Provides standard objects and functions for working with dates and times.
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
proposal-intl-locale-info - An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
proposal-observable - Observables for ECMAScript
proposal-partial-application - Proposal to add partial application to ECMAScript
proposal-pipeline-operator - A proposal for adding a useful pipe operator to JavaScript.
playroom - Design with JSX, powered by your own component library.
es-modules - Example code for an article
proposal-as-patterns - `as` destructuring patterns
proposal-regexp-legacy-features - Legacy static properties of the RegExp constructor in JavaScript