Will this program alert? Will something be logged to the console?
We are obviously missing some parentheses around the argument passed to
console.log but what will that cause the browser to do? This will result in a
SyntaxError. Syntax errors do not make it past the interpreter and our program does not run. It is invalid JS and nothing is alerted.
Uncaught SyntaxError: Unexpected string
What will happen here? Anything alerted or …Read Article