mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Improved metadata
This commit is contained in:
parent
fe5f8192de
commit
8051f05354
@ -2,9 +2,27 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-destructuring-binding-patterns
|
esid: sec-destructuring-binding-patterns-static-semantics-hasinitializer
|
||||||
description: >
|
description: >
|
||||||
Function.length when ArrayBindingPattern in FormalParameterList
|
Function.length when ArrayBindingPattern in FormalParameterList
|
||||||
|
info: |
|
||||||
|
#sec-function-definitions-static-semantics-expectedargumentcount
|
||||||
|
|
||||||
|
Static Semantics: ExpectedArgumentCount
|
||||||
|
|
||||||
|
FormalParameterList : FormalParameter
|
||||||
|
|
||||||
|
1. If HasInitializer of FormalParameter is true, return 0.
|
||||||
|
2. Return 1.
|
||||||
|
|
||||||
|
#sec-destructuring-binding-patterns-static-semantics-hasinitializer
|
||||||
|
|
||||||
|
Static Semantics: HasInitializer
|
||||||
|
|
||||||
|
BindingElement : BindingPattern
|
||||||
|
|
||||||
|
1. Return false.
|
||||||
|
|
||||||
features: [destructuring-binding]
|
features: [destructuring-binding]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -2,9 +2,27 @@
|
|||||||
// This code is governed by the BSD license found in the LICENSE file.
|
// This code is governed by the BSD license found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-destructuring-binding-patterns
|
esid: sec-destructuring-binding-patterns-static-semantics-hasinitializer
|
||||||
description: >
|
description: >
|
||||||
Function.length when ObjectBindingPattern in FormalParameterList
|
Function.length when ObjectBindingPattern in FormalParameterList
|
||||||
|
info: |
|
||||||
|
#sec-function-definitions-static-semantics-expectedargumentcount
|
||||||
|
|
||||||
|
Static Semantics: ExpectedArgumentCount
|
||||||
|
|
||||||
|
FormalParameterList : FormalParameter
|
||||||
|
|
||||||
|
1. If HasInitializer of FormalParameter is true, return 0.
|
||||||
|
2. Return 1.
|
||||||
|
|
||||||
|
#sec-destructuring-binding-patterns-static-semantics-hasinitializer
|
||||||
|
|
||||||
|
Static Semantics: HasInitializer
|
||||||
|
|
||||||
|
BindingElement : BindingPattern
|
||||||
|
|
||||||
|
1. Return false.
|
||||||
|
|
||||||
features: [destructuring-binding]
|
features: [destructuring-binding]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user