test262/test/language/destructuring/binding/syntax/object-pattern-with-no-prop...

20 lines
440 B
JavaScript

// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 13.3.3
description: >
The ObjectBindingPattern can be `{ }`
info: |
Destructuring Binding Patterns - Syntax
ObjectBindingPattern[Yield] :
{ }
{ BindingPropertyList[?Yield] }
{ BindingPropertyList[?Yield] , }
features: [destructuring-binding]
---*/
function fn({}) {}