summaryrefslogtreecommitdiff
path: root/src/dstr-assignment/obj-id-simple-no-strict.case
blob: a191f225332f656fbb08541b78f5dafec3b5dbeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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);