node-es6-examples icon indicating copy to clipboard operation
node-es6-examples copied to clipboard

ECMAScript 6 examples for Node.JS

Results 8 node-es6-examples issues
Sort by recently updated
recently updated
newest added

First of all, thanks for the great samples! Just wondering, could you please add one to show how to create a Class (with a constructor accepting parameters) and how to...

Complete object observation block

When demonstrating generators: ``` javascript function* fibonacci() { let a = 0, b = 1; while(true) { yield a; // this syntax doesnt appear to be actually supported [a, b]...

Would the [arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions) be a viable candidate for an example or am I missing something?

If `Symbol()` with empty value, browser will alert SyntaxError `let debugSymbol = Symbol()` `SyntaxError: Illegal let declaration outside extended mode`

Proxies are to be created with `new Proxy(target, handler)`, now.

Examples for exports and module.exports