Consider following snippet:
 console.log("Hello!' +"_"+ "World!') 
What will be the printed to the console?
Explanation
Uncaught ReferenceError: _ is not defined the correct syntax is: "Hello!" + "_" + " World!"

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes