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

21 lines
430 B
Plaintext
Raw Normal View History

2015-04-17 23:12:38 +02:00
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: >
2015-04-17 23:12:38 +02:00
Evaluation of DestructuringAssignmentTarget.
template: default
2015-04-17 23:12:38 +02:00
es6id: 12.14.5.4
flags: [noStrict]
---*/
//- setup
var eval, arguments;
//- elems
{ eval, arguments }
//- vals
{ eval: 1, arguments: 2 }
//- teardown
2015-04-17 23:12:38 +02:00
assert.sameValue(eval, 1);
assert.sameValue(arguments, 2);