1console.log("Your line would be here")//Prints a line on the console
2alert("Your message here")//Raises an alert
1console.log("Text");
2var randomText = "randomText";
3
4console.log(randomText);
5console.err("Error: U Looked at this comment");
6//Logs an error.
1//It is very esay to print!
2//This how to print in Javascript!
3console.log("string");
4
5var num = 1;
6
7console.log(num);
8
9