Advanced Quiz 3
1. What is the output of console.log(!!"") ?
2. What is the output of console.log(typeof (async function(){})) ?
3. What is the output of console.log(typeof Promise.resolve()) ?
4. What is the output of console.log([1,2,3].find(x => x > 1)) ?
5. What is the output of console.log([1,2,3].includes(2)) ?
6. What does Object.keys({a:1, b:2}) return?
7. What is the output of console.log([1,2,3].some(x => x > 2)) ?
8. What does Object.values({a:1, b:2}) return?
9. What is the output of console.log([1,2,3].every(x => x > 0)) ?
10. What is the output of console.log([1,2,3].filter(x => x > 1)) ?
Previous Next