line break javascript code example
Example 1: javascript line break
//in JavaScript, you can declare a line break (or new line)
//with the \n character.
var linebreak = '\n';
Example 2: new line javascript
console.log('Hello \n World');
//in JavaScript, you can declare a line break (or new line)
//with the \n character.
var linebreak = '\n';
console.log('Hello \n World');