aboutsummaryrefslogtreecommitdiffstats
path: root/src/dstr-assignment/obj-id-init-simple-no-strict.case
blob: b44e5bd09452f245c9f4f0e441ea55a532ad86a0 (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 = 3, arguments = 4 }
//- vals
{}
//- body
assert.sameValue(eval, 3);
assert.sameValue(arguments, 4);