test262/src/dstr-assignment/obj-id-simple-no-strict.case

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);