Allow any quoted string to be multiline?
isiahmeadows at gmail.com
Fri Dec 15 13:48:00 UTC 2017
There are ES5 newline escapes. However, it'd be nice if I didn't have
to resort to templates just for multiline strings. Note: it wouldn't
actually simplify parsing by much - either you're handling the case
and remapping CR/CRLF to NL, or you're handling the case and throwing
// ES5 escaped newlines
me at isiahmeadows.com
Looking for web consulting? Or a new website?
Send me an email and we can get started.
On Fri, Dec 15, 2017 at 8:43 AM, J Decker <d3ck0r at gmail.com> wrote:
> If any string were allowed to be multi-line it would not break any existing
> code, and it would simplify parsing strings.
> 'a multi-
> line string'
> Maybe this is a question... why not allow line spanning with single and
> double quoted strings?
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss