JavaScript Quiz - Level 2

1. Which method is used to join two or more arrays in JavaScript?

2. What will "typeof null" return in JavaScript?

3. Which method removes the last element from an array?

4. How do you write an arrow function that returns the square of x?

5. What does the "===" operator check for?

6. Which method converts a JSON string to a JavaScript object?

7. What will the following output: console.log(2 + "2")?

8. How do you create a JavaScript object?

9. Which array method creates a new array with elements that pass a test?