mirror of https://github.com/tc39/test262.git
21 lines
430 B
Plaintext
21 lines
430 B
Plaintext
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
desc: >
|
|
Evaluation of DestructuringAssignmentTarget.
|
|
template: default
|
|
es6id: 12.14.5.4
|
|
flags: [noStrict]
|
|
---*/
|
|
|
|
//- setup
|
|
var eval, arguments;
|
|
//- elems
|
|
{ eval, arguments }
|
|
//- vals
|
|
{ eval: 1, arguments: 2 }
|
|
//- teardown
|
|
assert.sameValue(eval, 1);
|
|
assert.sameValue(arguments, 2);
|