ES 5 ES 3 Core features 1997 ~~ 1999 new functions strict mode, json 2009 class, promises, generators, arrow functions, new syntax and concepts … 2015 Exponential (**), array.includes, 2016
one language and transforming into another language that has a similar level of abstraction is the general term for taking source code written in one language and transforming into another. "CoffeeScript is to Ruby as TypeScript is to Java/C#/C++." - Luke Hoban
Autmaticaly create a package-lock.json § npm cache rewrited § You will have to re-download all your package cache § npm fallback automaticaly to cache if no network § -- prefer-offline § -- prefer-online § -- offline § Large package download issue resolved
underlying JavaScript Runtime § API is Application Binary Interface (ABI) stable accross Node.JS § Every native addons will be compatible with § Chrome V8 § ChakraCore (https://github.com/nodejs/node-chakracore/ )
URLs, domains, IP addresses, the application/x-www-form- urlencoded format, and their API. § The URL standard takes the following approach towards making URLs fully interoperable import * as urlUtility from 'url'; const myUrl = new urlUtility.URL('/a/path', 'https://example.org/'); console.log(myUrl.toString());
{ if (a > 10) { callback(undefined, a * a); } else { callback("a must be greater than 10"); } } const awaitableBreeze = util.promisify(bullshot); § util.promisify() API that allows standard Node.js callback style APIs to be wrapped in a function that returns a Promise § Callback Style : (err, value) => {}
are now displayed by default when using util.inspect() Util: `toJSON` errors will be thrown when formatting `%j` Others… See 1. https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md 2. https://nodejs.org/en/blog/release/v8.0.0/