Select the statement that has correct JavaScript syntax

DWQA QuestionsCategory: Web Design HTMLSelect the statement that has correct JavaScript syntax
Editor Staff asked 1 month ago

Select the statement that has correct JavaScript syntax
1. document.write(“text”)
2. alert stop ;
3. console.log(“text”);

1 Answers
Editor Staff answered 1 month ago

Answer:-console.log(“text”);