089e4fd32c
When an octal escape sequence is in a string in strict mode: - Octal literals are not allowed in strict mode. + Octal escape sequences are not allowed in strict mode. When an octal escape sequence is in a template string: - Octal literals are not allowed in template strings. + Octal escape sequences are not allowed in template strings. BUG=v8:4973 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2551633002 Cr-Commit-Position: refs/heads/master@{#41560}
5 lines
202 B
Plaintext
5 lines
202 B
Plaintext
*%(basename)s:32: SyntaxError: Octal escape sequences are not allowed in strict mode.
|
|
var x = "hello\040world";
|
|
^^
|
|
SyntaxError: Octal escape sequences are not allowed in strict mode.
|