ES4 draft last call: line continuation in string and regex literals

Waldemar Horwat waldemar at
Mon Mar 10 17:58:40 PDT 2008

> The character sequence BACKSLASH <lineterminator> (where <lineterminator> will be one of the characters LF, LS, or PS) is removed from string literals delimited by either single or triple SINGLEQUOTE or DOUBLEQUOTE characters. (Triple-quoting is defined in [5].)

This states that:


evaluates to the string "abc<tab>de".

Is this really what we want?  I'd find such nested escape sequences really strange.


More information about the Es4-discuss mailing list