javascript how to print line break 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: how to print a line in javascript
console.log("Your line would be here")//Prints a line on the console
alert("Your message here")//Raises an alert