diff options
Diffstat (limited to 'src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case')
-rw-r--r-- | src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case b/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case deleted file mode 100644 index 8fb0bb2d1..000000000 --- a/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (C) 2017 Caio Lima. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -desc: > - When DestructuringAssignmentTarget is an object literal, it should be parsed - parsed as a DestructuringAssignmentPattern and evaluated as a destructuring - assignment. -template: default -esid: pending -features: [object-rest] ----*/ - -//- setup -var obj = {a: 3, b: 4}; -//- elems -{a, b, ...{c, e}} -//- vals -{a: 1, b: 2, c: 3, d: 4, e: 5} -//- body -assert.sameValue(a, 1); -assert.sameValue(b, 2); -assert.sameValue(c, 3); -assert.sameValue(e, 5); - |