Here's the code.
<script>
// 01
console.log("Hello World!");
// 02
alert("Hello World!");
// 03
confirm("Hello World!");
// 04
prompt("Hello World!");
// 05
document.write("Hello World!");
</script>
Advertisement
Advertisement
0 Comments