JavaScript Platform Independent Line separator
<p>Does something similar to Java's <code>System.getProperty("line.separator");</code> exist in JavaScript? </p>

<p>Edit: I am using the non-browser JavaScript environment Node.js</p>
