What's the correct behavior for "\8" and "\9"
brendan at mozilla.com
Sat Mar 23 13:58:41 PDT 2013
> According to spec: Syntax error, because of that 8 or 9 does not
> belongs to /NonEscapeCharacter/.
> However, ALL browsers treat them as "8" and "9".
Web compatibility seems to require "noctal" escapes in string literals.
No one has really investigated how much web content, but it was true in
the past and engines don't like taking risk for little gain.
More information about the es-discuss