arrowparameters-bindingidentifier-identifier-futurereservedword.js |
---
es6id: 14.2
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
(12.1)
BindingIdentifier[Yield] :
Identifier[~Yield] yield
Identifier :
IdentifierName but not ReservedWord
ReservedWord : FutureReservedWord
negative:
phase: parse
type: SyntaxError
--- |
527 |
arrowparameters-bindingidentifier-identifier-strict-futurereservedword-strict.js |
---
es6id: 14.2
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
(12.1)
BindingIdentifier[Yield] :
Identifier[~Yield] yield
Identifier :
IdentifierName but not ReservedWord
ReservedWord : FutureReservedWord
Strict Mode
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
581 |
arrowparameters-bindingidentifier-identifier.js |
---
es6id: 14.2
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
(12.1)
BindingIdentifier[Yield] :
Identifier[~Yield] yield
Identifier :
IdentifierName but not ReservedWord
ReservedWord : Keyword
negative:
phase: parse
type: SyntaxError
--- |
518 |
arrowparameters-bindingidentifier-no-arguments-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
...
No parameter named "arguments"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
441 |
arrowparameters-bindingidentifier-no-eval-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
...
No parameter named "eval"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
432 |
arrowparameters-bindingidentifier-no-yield-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
BindingIdentifier[?Yield]
...
No parameter named "yield"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
434 |
arrowparameters-bindingidentifier-rest.js |
---
es6id: 14.2
description: >
ArrowParameters : BindingIdentifier[?Yield]
Includes ...rest
negative:
phase: parse
type: SyntaxError
--- |
363 |
arrowparameters-cover-no-arguments-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
No parameters named "arguments"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
662 |
arrowparameters-cover-no-duplicates-binding-array-1.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ArrayBindingPattern
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
632 |
arrowparameters-cover-no-duplicates-binding-array-2.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ArrayBindingPattern
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
632 |
arrowparameters-cover-no-duplicates-binding-array-3.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ArrayBindingPattern
BindingRestElement
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
659 |
arrowparameters-cover-no-duplicates-binding-object-1.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
633 |
arrowparameters-cover-no-duplicates-binding-object-2.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
BindingPropertyList
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
661 |
arrowparameters-cover-no-duplicates-binding-object-3.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
BindingPropertyList
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
663 |
arrowparameters-cover-no-duplicates-binding-object-4.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
BindingPropertyList
BindingRestElement
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
685 |
arrowparameters-cover-no-duplicates-binding-object-5.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
BindingPropertyList
BindingRestElement
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
688 |
arrowparameters-cover-no-duplicates-binding-object-6.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
ObjectBindingPattern
BindingPropertyList
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
661 |
arrowparameters-cover-no-duplicates-rest.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
No duplicates, rest
negative:
phase: parse
type: SyntaxError
--- |
614 |
arrowparameters-cover-no-duplicates.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
No duplicates
negative:
phase: parse
type: SyntaxError
--- |
605 |
arrowparameters-cover-no-eval-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
CoverParenthesizedExpressionAndArrowParameterList, refined by:
ArrowFormalParameters[Yield, GeneratorParameter] :
( StrictFormalParameters[?Yield, ?GeneratorParameter] )
No parameters named "eval"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
652 |
arrowparameters-cover-no-yield-strict.js |
---
es6id: 14.2.1
description: >
ArrowParameters[Yield] :
...
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
No parameter named "yield"
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
--- |
467 |
asi-restriction-invalid-parenless-parameters-expression-body.js |
---
es6id: 14.2
description: >
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] [no LineTerminator here] => ConciseBody[?In]
negative:
phase: parse
type: SyntaxError
--- |
396 |
asi-restriction-invalid-parenless-parameters.js |
---
es6id: 14.2
description: >
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] [no LineTerminator here] => ConciseBody[?In]
No parens around ArrowParameters
negative:
phase: parse
type: SyntaxError
--- |
435 |
asi-restriction-invalid.js |
---
es6id: 14.2
description: >
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] [no LineTerminator here] => ConciseBody[?In]
negative:
phase: parse
type: SyntaxError
--- |
397 |
browser.js |
|
0 |
shell.js |
|
0 |
use-strict-with-non-simple-param.js |
---
esid: sec-arrow-function-definitions-static-semantics-early-errors
description: >
A SyntaxError is thrown if an arrow function contains a non-simple parameter list and a UseStrict directive.
info: |
Static Semantics: Early Errors
It is a Syntax Error if ContainsUseStrict of ConciseBody is true and IsSimpleParameterList of ArrowParameters is false.
negative:
phase: parse
type: SyntaxError
--- |
636 |