← All topics
Quiz: Functions, Arrays and Objects: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. What does this print? (code)
- Q2. What does this print? (code)
- Q3. What does this print? (code)
- Q4. What does const { a, ...others } = { a: 1, b: 2, c: 3 } put in others?
- Q5. Which method returns the FIRST matching element (or undefined)?
- Q6. What does this print? (code)
- Q7. What does this print? (code)
- Q8. What does this print? (code)
- Q9. What does JSON.parse('{"marks": 90}') return?
- Q10. What does this print? (code)