| 10.1.1-1-s.js |
---
es5id: 10.1.1-1-s
description: >
Strict Mode - Use Strict Directive Prologue is 'use strict';
which contains two space between 'use' and 'strict'
flags: [noStrict]
--- |
447 |
- |
| 10.1.1-2-s.js |
---
es5id: 10.1.1-2-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict''
which lost the last character ';'
flags: [noStrict]
--- |
407 |
- |
| 10.1.1-2gs.js |
---
es5id: 10.1.1-2gs
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict''
which lost the last character ';'
negative:
phase: parse
type: SyntaxError
flags: [raw]
--- |
422 |
- |
| 10.1.1-3-s.js |
---
es5id: 10.1.1-3-s
description: >
Strict Mode - Use Strict Directive Prologue is '' use strict';'
which the first character is space
flags: [noStrict]
--- |
432 |
- |
| 10.1.1-4-s.js |
---
es5id: 10.1.1-4-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict ';'
which the last character is space
flags: [noStrict]
--- |
431 |
- |
| 10.1.1-5-s.js |
---
es5id: 10.1.1-5-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears at the beginning of the block
flags: [noStrict]
--- |
419 |
- |
| 10.1.1-5gs.js |
---
es5id: 10.1.1-5gs
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears at the start of the code
negative:
phase: parse
type: SyntaxError
flags: [raw]
--- |
429 |
- |
| 10.1.1-6-s.js |
---
es5id: 10.1.1-6-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears in the middle of the block
flags: [noStrict]
--- |
526 |
- |
| 10.1.1-7-s.js |
---
es5id: 10.1.1-7-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears at the end of the block
flags: [noStrict]
--- |
432 |
- |
| 10.1.1-8-s.js |
---
es5id: 10.1.1-8-s
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears twice in the directive prologue
flags: [noStrict]
--- |
443 |
- |
| 10.1.1-8gs.js |
---
es5id: 10.1.1-8gs
description: >
Strict Mode - Use Strict Directive Prologue is ''use strict';'
which appears twice in the code
negative:
phase: parse
type: SyntaxError
flags: [raw]
--- |
436 |
- |
| 10.1.1-9-s.js |
---
es5id: 10.1.1-9-s
description: >
Strict Mode - Use Strict Directive Prologue is ''Use strict';' in
which the first character is uppercase
flags: [noStrict]
--- |
436 |
- |
| 10.1.1-10-s.js |
---
es5id: 10.1.1-10-s
description: >
Strict Mode - Use Strict Directive Prologue is ''USE STRICT';' in
which all characters are uppercase
flags: [noStrict]
--- |
434 |
- |
| 10.1.1-11-s.js |
---
es5id: 10.1.1-11-s
description: >
Strict Mode - Eval code is strict code with a Use Strict Directive
at the beginning of the block
flags: [noStrict]
--- |
719 |
- |
| 10.1.1-12-s.js |
---
es5id: 10.1.1-12-s
description: >
Strict Mode - Eval code is strict eval code with a Use Strict
Directive in the middle of the block
flags: [noStrict]
--- |
519 |
- |
| 10.1.1-13-s.js |
---
es5id: 10.1.1-13-s
description: >
Strict Mode - Eval code is strict eval code with a Use Strict
Directive at the end of the block
flags: [noStrict]
--- |
516 |
- |
| 10.1.1-14-s.js |
---
es5id: 10.1.1-14-s
description: >
Strict Mode - The call to eval function is contained in a Strict
Mode block
flags: [noStrict]
--- |
389 |
- |
| 10.1.1-15-s.js |
---
es5id: 10.1.1-15-s
description: >
Strict Mode - Function code that is part of a FunctionDeclaration
is strict function code if FunctionDeclaration is contained in use
strict
flags: [noStrict]
--- |
567 |
- |
| 10.1.1-16-s.js |
---
es5id: 10.1.1-16-s
description: >
Strict Mode - Function code that is part of a FunctionExpression
is strict function code if FunctionExpression is contained in use
strict
flags: [noStrict]
--- |
515 |
- |
| 10.1.1-17-s.js |
---
es5id: 10.1.1-17-s
description: >
Strict Mode - Function code that is part of a Accessor
PropertyAssignment is in Strict Mode if Accessor
PropertyAssignment is contained in use strict(getter)
flags: [noStrict]
--- |
708 |
- |
| 10.1.1-18-s.js |
---
es5id: 10.1.1-18-s
description: >
Strict Mode - Function code that is part of a Accessor
PropertyAssignment is in Strict Mode if Accessor
PropertyAssignment is contained in use strict(setter)
flags: [noStrict]
--- |
791 |
- |
| 10.1.1-19-s.js |
---
es5id: 10.1.1-19-s
description: >
Strict Mode - Function code of a FunctionDeclaration contains Use
Strict Directive which appears at the start of the block
flags: [noStrict]
--- |
491 |
- |
| 10.1.1-20-s.js |
---
es5id: 10.1.1-20-s
description: >
Strict Mode - Function code of a FunctionDeclaration contains Use
Strict Directive which appears in the middle of the block
flags: [noStrict]
--- |
487 |
- |
| 10.1.1-21-s.js |
---
es5id: 10.1.1-21-s
description: >
Strict Mode - Function code of a FunctionDeclaration contains Use
Strict Directive which appears at the end of the block
flags: [noStrict]
--- |
483 |
- |
| 10.1.1-22-s.js |
---
es5id: 10.1.1-22-s
description: >
Strict Mode - Function code of a FunctionExpression contains Use
Strict Directive which appears at the start of the block
flags: [noStrict]
--- |
444 |
- |
| 10.1.1-23-s.js |
---
es5id: 10.1.1-23-s
description: >
Strict Mode - Function code of a FunctionExpression contains Use
Strict Directive which appears in the middle of the block
flags: [noStrict]
--- |
474 |
- |
| 10.1.1-24-s.js |
---
es5id: 10.1.1-24-s
description: >
Strict Mode - Function code of a FunctionExpression contains Use
Strict Directive which appears at the end of the block
flags: [noStrict]
--- |
472 |
- |
| 10.1.1-25-s.js |
---
es5id: 10.1.1-25-s
description: >
Strict Mode - Function code of Accessor PropertyAssignment
contains Use Strict Directive which appears at the start of the
block(getter)
flags: [noStrict]
--- |
703 |
- |
| 10.1.1-26-s.js |
---
es5id: 10.1.1-26-s
description: >
Strict Mode - Function code of Accessor PropertyAssignment
contains Use Strict Directive which appears at the start of the
block(setter)
flags: [noStrict]
--- |
781 |
- |
| 10.1.1-27-s.js |
---
es5id: 10.1.1-27-s
description: >
Strict Mode - Function code of Accessor PropertyAssignment
contains Use Strict Directive which appears in the middle of the
block(getter)
flags: [noStrict]
--- |
674 |
- |
| 10.1.1-28-s.js |
---
es5id: 10.1.1-28-s
description: >
Strict Mode - Function code of Accessor PropertyAssignment
contains Use Strict Directive which appears at the end of the
block(setter)
flags: [noStrict]
--- |
701 |
- |
| 10.1.1-29-s.js |
---
es5id: 10.1.1-29-s
description: >
Strict Mode - The built-in Function constructor is contained in
use strict code
flags: [noStrict]
--- |
433 |
- |
| 10.1.1-30-s.js |
---
es5id: 10.1.1-30-s
description: >
Strict Mode - Function code of built-in Function constructor
contains Use Strict Directive which appears at the start of the
block
flags: [noStrict]
--- |
493 |
- |
| 10.1.1-31-s.js |
---
es5id: 10.1.1-31-s
description: >
Strict Mode - Function code of built-in Function constructor
contains Use Strict Directive which appears in the middle of the
block
flags: [noStrict]
--- |
560 |
- |
| 10.1.1-32-s.js |
---
es5id: 10.1.1-32-s
description: >
Strict Mode - Function code of built-in Function constructor
contains Use Strict Directive which appears at the end of the block
flags: [noStrict]
--- |
553 |
- |
| 14.1-1-s.js |
---
es5id: 14.1-1-s
description: "'use strict' directive - correct usage"
flags: [noStrict]
--- |
343 |
- |
| 14.1-2-s.js |
---
es5id: 14.1-2-s
description: "\"use strict\" directive - correct usage double quotes"
flags: [noStrict]
--- |
360 |
- |
| 14.1-3-s.js |
---
es5id: 14.1-3-s
description: >
'use strict' directive - not recognized if it contains extra
whitespace
flags: [noStrict]
--- |
393 |
- |
| 14.1-4-s.js |
---
es5id: 14.1-4-s
description: >
'use strict' directive - not recognized if contains Line
Continuation
flags: [noStrict]
--- |
385 |
- |
| 14.1-4gs.js |
---
es5id: 14.1-4gs
description: >
StrictMode - a Use Strict Directive followed by a strict mode
violation
negative:
phase: parse
type: SyntaxError
flags: [raw]
--- |
392 |
- |
| 14.1-5-s.js |
---
es5id: 14.1-5-s
description: >
'use strict' directive - not recognized if contains a
EscapeSequence
flags: [noStrict]
--- |
386 |
- |
| 14.1-5gs.js |
---
es5id: 14.1-5gs
description: >
StrictMode - a Use Strict Directive embedded in a directive
prologue followed by a strict mode violation
negative:
phase: parse
type: SyntaxError
flags: [raw]
--- |
435 |
- |
| 14.1-6-s.js |
---
es5id: 14.1-6-s
description: >
'use strict' directive - not recognized if contains a <TAB>
instead of a space
flags: [noStrict]
--- |
392 |
- |
| 14.1-7-s.js |
---
es5id: 14.1-7-s
description: "'use strict' directive - not recognized if upper case"
flags: [noStrict]
--- |
359 |
- |
| 14.1-8-s.js |
---
es5id: 14.1-8-s
description: "'use strict' directive - may follow other directives"
flags: [noStrict]
--- |
383 |
- |
| 14.1-9-s.js |
---
es5id: 14.1-9-s
description: "'use strict' directive - may occur multiple times"
flags: [noStrict]
--- |
375 |
- |
| 14.1-10-s.js |
---
es5id: 14.1-10-s
description: other directives - may follow 'use strict' directive
flags: [noStrict]
--- |
382 |
- |
| 14.1-11-s.js |
---
es5id: 14.1-11-s
description: comments may preceed 'use strict' directive
flags: [noStrict]
--- |
378 |
- |
| 14.1-12-s.js |
---
es5id: 14.1-12-s
description: comments may follow 'use strict' directive
flags: [noStrict]
--- |
379 |
- |
| 14.1-13-s.js |
---
es5id: 14.1-13-s
description: semicolon insertion works for'use strict' directive
flags: [noStrict]
--- |
355 |
- |
| 14.1-14-s.js |
---
es5id: 14.1-14-s
description: semicolon insertion may come before 'use strict' directive
flags: [noStrict]
--- |
387 |
- |
| 14.1-15-s.js |
---
es5id: 14.1-15-s
description: blank lines may come before 'use strict' directive
flags: [noStrict]
--- |
361 |
- |
| 14.1-16-s.js |
---
es5id: 14.1-16-s
description: >
'use strict' directive - not recognized if it follow an empty
statement
flags: [noStrict]
--- |
388 |
- |
| 14.1-17-s.js |
---
es5id: 14.1-17-s
description: >
'use strict' directive - not recognized if it follow some other
statment empty statement
flags: [noStrict]
--- |
413 |
- |