“someName” to this module’s scope.
In common-js terms, transpiled to:
exports.someName = require(“module”);
Does anyone have context as to why this piece of syntax doesn’t exist? Is there
a case to be made to incrementally add it in ES7?
- Lee Byron
Thanks for this additional context, Brendan. The block lambda revival was
particularly interesting to read up on. I understand why we went down the arrow
function path, but it’s fun to think about what ES6+ might look like had we
taken that different path.
I’d like to keep this proposal scoped
Hey all,
I’d like to propose an addition to ES7 to add @@reduced as a way to
short-circuit from Array.prototype.reduce.
I’ve written up a polyfill and explanation here:
https://github.com/leebyron/ecma-reduced
I would love your feedback on this.
Lee
that can be efficiently iterated in
reverse. It also suggests adding `reverse()` to %IteratorPrototype% as an API
sugar.
I’m looking for broad feedback as well as stakeholders if this functionality is
important to you.
Thanks
Lee Byron
___
es-discuss
4 matches
Mail list logo