Answers for "js output"

20

how to print to console javascript

console.log("string")
Posted by: Guest on February-13-2020
0

output in javascript

console.log(a);             // write to the browser console
document.write(a);          // write to the HTML
alert(a);                   // output in an alert box
confirm("Really?");         // yes/no dialog, returns true/false depending on user click
prompt("Your age?","0");    // input dialog. Second argument is the initial value
Posted by: Guest on August-05-2021
7

javascript print

console.log("Who's Joe?")
Posted by: Guest on August-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language