Skip to content

Commit

Permalink
Update ES6 docs for v5.0.0
Browse files Browse the repository at this point in the history
With node v5.0.0 will come an updated v8 that includes additional ES6
features. This adds some of those additional features to the ES6 doc
  • Loading branch information
evanlucas committed Oct 27, 2015
1 parent 6b9515a commit bb443ea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions locale/en/docs/es6.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,24 @@ All ES6 features are split into three groups for **shipping**, **staged**, and *

* [Arrow Functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)

* [new.target](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target)

* [Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)

* [Spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator)

You can view a more detailed list, including a comparison with other engines, on the [compat-table](https://kangax.github.io/compat-table/es6/) project page.

## Which ES6 features are behind the --es_staging flag?

* [`Symbol.toStringTag`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) (user-definable results for `Object.prototype.toString`, behind flag `--harmony_tostring`)

* [`Array.prototype.includes`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes) (determine whether
an array includes a certain element, behind flag `--harmony_array_includes`)

* [Rest Parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters) (represent an indefinite number
of arguments as an array, behind flag `--harmony_rest_parameters`)

## Which ES6 features are in progress?

New features are constantly being added to the V8 engine. Generally speaking, expect them to land on a future Node.js release, although timing is unknown.
Expand Down

0 comments on commit bb443ea

Please sign in to comment.