Cómo imprimir para detectar en JavaScript

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