var foo = 'doch,\
Nein. Das ist m.W. Netscape JavaScript, aber nicht ECMAScript. Daher auch diese Anmerkung:
»A 'LineTerminator' character cannot appear in a string literal, even if preceded by a backslash . The correct way to cause a line terminator character to be part of the string value of a string literal is to use an escape sequence such as \n or \u000A.«
Mathias