mirror of https://github.com/tc39/test262.git
20 lines
429 B
Plaintext
20 lines
429 B
Plaintext
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
template: error
|
|
desc: Value specifed for object binding pattern must be object coercible (undefined)
|
|
info: |
|
|
Runtime Semantics: BindingInitialization
|
|
|
|
ObjectBindingPattern : { }
|
|
|
|
1. Return NormalCompletion(empty).
|
|
---*/
|
|
|
|
//- elems
|
|
{}
|
|
//- vals
|
|
undefined
|
|
//- error
|
|
TypeError
|