Intermediate Quiz 4
1. What is the output of typeof undefined ?
2. What is the output of typeof NaN ?
3. What is the output of console.log([1,2,3].reverse()) ?
4. What is the output of console.log('hello'.toUpperCase()) ?
5. Which method removes the first element from an array?
6. Which method adds one or more elements to the beginning of an array?
7. Which method would you use to find an element in an array that matches a condition?
8. What is the output of console.log(!!"") ?
9. What is the output of console.log(typeof []) ?
10. Which method tests whether at least one element in the array passes the test?
Previous Next