@xChaoticRage Thank you for commenting!
Unfortunately, in this case it will be "C) Uncaught SyntaxError". It's because the "elseif" statement should be written as "else if" in JavaScript (with a whitespace character).
This was a tricky one.
🤔JavaScript Quiz Question: What will be logged out to the console after executing this code?
A) Negative
B) Positive
C) Uncaught SyntaxError: Unexpected token '{'
D) Nothing will be logged out to the console
#LearnJavaScript#JSQuiz#Codenewbie#LearnToCode#100DaysOfCode
❓JavaScript Poll:
What is the best way to get the current timestamp in JavaScript? (Add a comment to explain why...)
#JavaScript#100DaysOfCode#LearnToCode
What will be logged in the console after executing this #JavaScript code? Choose the correct option:
A) BLUE
B) RED
C) Uncaught SyntaxError: Unexpected identifier
D) Something else (explain why)
#CodingQuestions#JavaScriptQuestion#LearnToCode
What will be logged in the console after executing the following code?
A) RED
B) BLUE
C) Uncaught ReferenceError
D) Something else (please explain in the reply)
#JavaScript#LearnToCode#ProgrammingQuiz#100DaysOfCode