Anyone have a good summary of the language feature changes & APIs (either standards or standards track) that are in the version of V8 that ships with Node 7 vs Node 6?
- await/async behind flag (already covered in thread)
- Exponentiation operator:
> console.log(60**2*24);
86400
- Object.{values,entries}: > o = { a: 1, b: 2}
> Object.values(o);
[ 1, 2 ]
- Object.getOwnPropertyDescriptor(s): > o = { a: 1 }
> Object.getOwnPropertyDescriptors(o);
{ a: { value: 1, writable: true, enumerable: true, configurable: true } }
Additionally, there's a lot of pretty impressive optimization work done by the v8 team. You can read more about that on their blog: http://v8project.blogspot.comFinally, one of my favorite things about Node.js 7.0 is the WhatWG http parser: https://github.com/nodejs/node/pull/7448.
edit: elaborated on exponentiation operator