diff --git a/spec.html b/spec.html index 657112348d..0b6899937d 100644 --- a/spec.html +++ b/spec.html @@ -16440,7 +16440,7 @@
A string literal is 0 or more Unicode code points enclosed in single or double quotes. Unicode code points may also be represented by an escape sequence. All code points may appear literally in a string literal except for the closing quote code points, U+005C (REVERSE SOLIDUS), U+000D (CARRIAGE RETURN), and U+000A (LINE FEED). Any code points may appear in the form of an escape sequence. String literals evaluate to ECMAScript String values. When generating these String values Unicode code points are UTF-16 encoded as defined in
A conforming implementation, when processing strict mode code, must not extend the syntax of |EscapeSequence| to include
<LF> and <CR> cannot appear in a string literal, except as part of a |LineContinuation| to produce the empty code points sequence. The proper way to include either in the String value of a string literal is to use an escape sequence such as `\\n` or `\\u000A`.
It is possible for string literals to precede a Use Strict Directive that places the enclosing code in
+ function invalid() { "\7"; "use strict"; }
+
+ A string literal stands for a value of the String type. SV produces String values for string literals through recursive application on the various parts of the string literal. As part of this process, some Unicode code points within the string literal are interpreted as having a mathematical value, as described below or in
The syntax and semantics of
This definition of |EscapeSequence| is not used in strict mode.
-It is possible for string literals to precede a Use Strict Directive that places the enclosing code in
- function invalid() { "\7"; "use strict"; }
-
- The syntax and semantics of