-->

Saturday, 1 November 2014

How to print message using javascript

How to print message using javascript

To print a statement, you can use alert or console.log.

alert("prosourcecode");
console.log("prosourcecode");
Semicolon can be omitted most of the time, but you should always add a semicolon, because if you don't, the compiler sometimes will get it wrong, resulting hard-to-find bugs.

Read other related articles

Also read other articles

© Copyright 2019 Project Source Code | All Right Reserved