Answers for "output in javascript"

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
3

how to print to screen in javascript

console.log("Hello World!");
alert("Console has been updated.");
Posted by: Guest on October-23-2020
6

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