EN
JavaScript - Hello world
0 points
This article will show you how to print "Hello, World
" in JavaScript.
Here are three ways to display "Hello world":
alert()
method displays a new message box.
xxxxxxxxxx
1
alert("Hello, World!");
xxxxxxxxxx
1
console.log("Hello, World!");
console.log()
method allows the message to be displayed in the console.