067c27be65
This at least puts something in the tree demonstrating the breakage; it can be moved into regress/ if we fix it. R=littledan@chromium.org BUG=v8:4577 LOG=n Review URL: https://codereview.chromium.org/1576503002 Cr-Commit-Position: refs/heads/master@{#33193}
14 lines
337 B
JavaScript
14 lines
337 B
JavaScript
// Copyright 2015 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
function f(...arguments) {
|
|
return Array.isArray(arguments);
|
|
}
|
|
assertTrue(f());
|
|
|
|
function g({arguments}) {
|
|
return arguments === 42;
|
|
}
|
|
assertTrue(g({arguments: 42}));
|