Skip to content

Commit

Permalink
Update nodejs compat for javascript.function.rest_parameters
Browse files Browse the repository at this point in the history
This commit documents Node.js compatibility for function rest
parameters. This mainly depends on V8 but I tracked the relevant Node
versions, commits and PRs.

Flagged support (V8 4.4):

- [Node.js changelog entry for version 3.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_IOJS.md#2015-08-04-version-300-rvagg)
- [Pull Request](nodejs/node#2022)
- [Commit, with anchor to relevant line](nodejs/node@70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200)

Stable support (V8 4.7):

- [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell)
- [Pull Request](nodejs/node#4106)
- [Commit, with anchor to relevant line](nodejs/node@8a43a3d#diff-b2e04de0d939630d882245c2243e7e47R217)

Flag removal (V8 4.9):
- [Node.js changelog entry for version 6.0.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#2016-04-26-version-600-current-jasnell)
- [Pull Request](nodejs/node#4722)
- [Commit, with anchor to relevant line](nodejs/node@069e02a#diff-b2e04de0d939630d882245c2243e7e47L221)
  • Loading branch information
demurgos committed Apr 6, 2018
1 parent f6eb668 commit 380fd80
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions javascript/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -856,9 +856,23 @@
"ie": {
"version_added": false
},
"nodejs": {
"version_added": true
},
"nodejs": [
{
"version_added": "6.0.0",
"notes": "Added in <a href='https://github.com/nodejs/node/pull/4106'>PR #4106</a>."
},
{
"version_added": "3.0.0",
"version_removed": "6.0.0",
"flags": [
{
"type": "runtime_flag",
"name": "--harmony-rest-parameters"
}
],
"notes": "Added in <a href='https://github.com/nodejs/node/pull/2022'>PR #2022</a>. Removed in <a href='https://github.com/nodejs/node/pull/4722'>PR #4722</a>"
}
],
"opera": {
"version_added": "34"
},
Expand Down

0 comments on commit 380fd80

Please sign in to comment.