For as long as I can remember (back to Node 0.4), Node's behavior with
multi-line strings has been a little incorrect w.r.t. the ES5 standard:
'hello\
world'
Should evaluate to 'hello world', but evaluates in Node 0.6, 0.8,
and even the latest 0.9, to 'helloworld'.
I'd always assumed this was a V8 bug, but I thought to try it in Chrome
just now, and it works correctly in Chrome.
Strange! Anyone have any idea why this is?
Someone else also noticed this bug and filed a V8 report, but it was closed
-- presumably because it works correctly in Chrome:
http://code.google.com/p/v8/issues/detail?id=2165
Thanks guys,
Aseem
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en