Skip to content

Conversation

@demurgos
Copy link
Contributor

@demurgos demurgos commented Apr 6, 2018

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.

Note that I used 4 for the version of the flag addition because 3
corresponds to the io.js fork and is not recognized as a valid nodejs
version by the linter.

Flagged support (io.js 3.0.0, V8 4.4):

Stable support (Node.js 6.0.0, V8 4.7):

Flag removal (Node.js 6.0.0, V8 4.9):

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.

Note that I used `4` for the version of the flag addition because `3`
corresponds to the io.js fork and is not recognized as a valid `nodejs`
version by the linter.

Flagged support (io.js 3.0.0, 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 (Node.js 6.0.0, 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 (Node.js 6.0.0, 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)
@Elchi3 Elchi3 added the data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Apr 6, 2018
@demurgos demurgos mentioned this pull request Apr 6, 2018
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing to MDN browser-compat-data and especially for your detailed research when this was exposed in which way.

I removed the notes with the references to the PRs/commits that proof the information, because we do not generally add this kind of info to the data . It is good to have it as (meta) info in this PR, though, so it can be seen when using blame, for example.

Thanks again for your work! 🎉

@Elchi3 Elchi3 merged commit 8292290 into mdn:master Apr 11, 2018
@demurgos
Copy link
Contributor Author

Thanks for merging it.
Node 4 is reaching EOL so I have a few Node projects (Hexo, Gulp) that are looking into which new features are available to them or not. I'll send more PRs if I find time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants