mirror of https://github.com/tc39/test262.git
32 lines
777 B
JavaScript
32 lines
777 B
JavaScript
// Copyright (C) 2020 Sony Interactive Entertainment Inc. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
esid: sec-literals-string-literals
|
|
description: LegacyOctalEscapeSequence is not enabled in strict mode code - 9
|
|
info: |
|
|
EscapeSequence ::
|
|
CharacterEscapeSequence
|
|
LegacyOctalEscapeSequence
|
|
NonOctalDecimalEscapeSequence
|
|
HexEscapeSequence
|
|
UnicodeEscapeSequence
|
|
|
|
NonOctalDecimalEscapeSequence :: one of
|
|
8 9
|
|
|
|
## 12.8.4.1 Static Semantics: Early Errors
|
|
|
|
EscapeSequence :: NonOctalDecimalEscapeSequence
|
|
|
|
- It is a Syntax Error if the source code matching this production is strict
|
|
mode code.
|
|
flags: [onlyStrict]
|
|
negative:
|
|
phase: parse
|
|
type: SyntaxError
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
'\9';
|