+1 vote
in JavaScript by
edited by
Select the statement that has the correct JavaScript syntax.

i) document.write("text")

ii) alert stop;

iii) console.log("text");

1 Answer

0 votes
by
edited by

iii) console.log("text");

The consolelog() is a function that writes a message to log on the debugging console, such as Webkit or Firebug. In a browser you will not see anything on the screen. It logs a message to a debugging console

Related questions

0 votes
asked Oct 5, 2021 in Class-XI-PHYSICS by Sandeepthukran
+1 vote
asked Dec 28, 2021 in Apache Druid by sharadyadav1986
...