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