Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
basic
030string_multiline.js
030string_multiline.js
/** * An example of multiline string. * EcmaScript 5 allows this but EcmaScript 3 don't. */ var x, y; //multiline with \ x = 'First column\ second column\ third column'; //newline \n y = 'first row\nsecond row'; console.log(x); console.log(y);
Reload page
Preview
W3C validation
Edit Code
JS Console