WebDevQuiz

42 posts

WebDevQuiz banner
WebDevQuiz

WebDevQuiz

@WebDevQuiz

Are you learning to code? We tweet daily Code Test Questions about #JavaScript and web development... Prepare yourself for a Coding Interview! 🤓

Worldwide Joined Aralık 2020
33 Following22 Followers
WebDevQuiz
WebDevQuiz@WebDevQuiz·
@xChaoticRage If the "else if" was written separately, then it would be - as you said - "D) Nothing will be logged out to the console".
English
0
0
1
0
WebDevQuiz
WebDevQuiz@WebDevQuiz·
@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.
English
2
0
1
0