ECMAScript new features (ES6, ES7, ES8).
This projects is intended for learning purposes, and was created for a meetup at the office. Feel free to check it out, modify it, etc.
Download, or clone this project:
git clone https://github.com/carloluis/ecma-news.git
Then, run index.js
:
node index.js
You need a Node.js
engine with version 8
, or above.
- default parameters
- enhanced object literals
- arrow functions
- promises
- template literals
- new data structures
- block scoped constructs
- generators
- proxy objects
- classes
- modules
Top ten features here
- async / await
- new object functions
- string paddings
- function args with trailing commas
- shared memory and atomics
- shared memory: we can allow multiple threads read and write the same data with the new SharedArrayBuffer constructor
- Atomics: We can use the Atomics object to make sure nothing that is being written or read will be interrupted in the middle of the process. So the operations are finished before a the next one starts.
I have intentions to update this repo with the rest of ecmascript
features...
Licensed under the MIT License © 2017.
See LICENSE for more information.