Is \\n the universal newline character sequence in Javascript for all platforms? If not, how do I determine the character for the current environment?
\\n
I
The \n is just fine for all cases I've encountered. I you are working with web, use \n and don't worry about it (unless you have had any newline-related issues).
\n