Test Your JavaScript Knowledge with These 32 Quiz Questions
JavaScript QUIZ 30 Questions Test your knowledge How many can you answer? 1. What is the result of the expression 2 + ‘2’? a) 4 b) ’22’ c) 22 d) 2 Answer: b) ’22’ Explanation: In JavaScript, the + operator with a string and a number results in string concatenation. 2. How do you declare … Read more