es6features
es6features copied to clipboard
Overview of ECMAScript 6 features
I think non-standard JSON structures should not be successfully parsed by JSON, or we should warn developers that this is a non-standard JSON structure ```json "payout": [ [ "2022-05-25T00:00:00Z", "txid...
Announcement: https://github.blog/changelog/2022-04-25-git-io-deprecation/ The current README file features git.io url at the top, it should be updated soon so people don't keep bookmark or sharing it
When the first time I was learning the es6features. I directly copy the code ``` var odds = evens.map(v => v + 1); var nums = evens.map((v, i) => v...
# Remove the 'use strict' keyword inside the factorial function # Error: - Firefox: Uncaught SyntaxError: "use strict" not allowed in function with default parameter - Chrome: Uncaught SyntaxError: Illegal...
Should we keep the use strict statement? ```javascript repl: Non-simple parameter in strict mode (1:22) > 1 | function factorial(n, acc = 1) { | ^ 2 | 'use strict';...
when I tried to use npm command to install babel,I writed 'npm install babel-preset-env --save-dev' at cmd,then there was an error ,'npm WARN [email protected] No description ','npm WARN [email protected] No...
#88 function name.
add Chinese version