test262/test/language/rest-parameters/arrow-function-invalid.js

10 lines
274 B
JavaScript

// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.1
description: >
Invalid rest parameter in arrow function parameters
negative: SyntaxError
---*/
var x = ...y => y;