Advanced Quiz 1
1. What is the output of console.log([] + []) ?
2. What does Object.freeze() do?
3. What is the result of typeof Symbol() ?
4. What is the output of typeof (function(){}) ?
5. Which of the following is NOT a valid way to create an object?
6. What is the output of console.log([...'abc']) ?
7. What does Object.seal() do?
8. What is the output of typeof NaN ?
9. What is the result of Promise.resolve(5).then(x => x*2) ?
10. What is the output of typeof undefined ?
Previous Next