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.
FOLLOW THE Project Source Code AT TWITTER TO GET THE LATEST INFORMATION OR UPDATE
Follow Project Source Code on Instagram to get the latest information or updates
Follow our Instagram