in JavaScript by
Q:
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

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

Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

+1 vote
asked Jan 21 in C Plus Plus by SakshiSharma
0 votes
asked Feb 6, 2020 in JavaScript by rajeshsharma
+1 vote
asked Dec 4, 2019 in JavaScript by SakshiSharma
0 votes
asked Jan 24 in JAVA by rajeshsharma
0 votes
asked Jun 17, 2019 in IONIC by rajeshsharma
...