cara mencetak ke layar dalam javascript

console.log("Hello World!");
alert("Console has been updated.");
c00lhawk607