From 651df9ebd8d1960acac166d1127c9f9e8e221a69 Mon Sep 17 00:00:00 2001 From: Charles Samborski Date: Fri, 6 Apr 2018 13:50:04 +0200 Subject: [PATCH] Update nodejs compat for javascript.function.rest_parameters References: - [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](https://github.com/nodejs/node/pull/2022) - [Commit, with anchor to relevant line](https://github.com/nodejs/node/commit/70d1f32f56#diff-b2e04de0d939630d882245c2243e7e47R200) --- javascript/functions.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/javascript/functions.json b/javascript/functions.json index ce7727ef85e957..760a5c31c06860 100644 --- a/javascript/functions.json +++ b/javascript/functions.json @@ -856,9 +856,18 @@ "ie": { "version_added": false }, - "nodejs": { - "version_added": true - }, + "nodejs": [ + { + "version_added": "3.0.0", + "flags": [ + { + "type": "runtime_flag", + "name": "--harmony-rest-parameters" + } + ], + "notes": "See Node.js pull request 2022." + } + ], "opera": { "version_added": "34" },