JavaScript Quiz - Level 3

1. What will the following code log? console.log([] + [])

2. In JavaScript, what is a closure?

3. What does "this" refer to inside a regular function (not strict mode) when called in the global scope?

4. How do you correctly use async/await?

5. What will the following log? console.log(0.1 + 0.2 === 0.3)

6. How can you copy all properties from one object to another?

7. What does the "bind()" method do?

8. Which statement is true about destructuring?

9. What will this output? console.log(typeof NaN)