Which statement has the correct JavaScript syntax?Questions & Answers › Category: Programming Language › Which statement has the correct JavaScript syntax? -1 Vote Up Vote Down Adam asked 2 years ago Which statement has the correct JavaScript syntax?a. console.log(“”text””);b. document.write(“”text””)c. alert stop ;Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Lokesh Kumar Staff answered 2 years ago a. console.log(“”text””);Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...