JavaScript MCQ Quiz | Set – 03

Share your love
93
Created on By
Piyush Patil

JavaScript Quiz | Set - 03

1 / 15

What is the output of the following code snippet?

console.log(typeof null);

 

2 / 15

What is the result of the following expression?

"2" + 2

 

3 / 15

Which of the following methods can be used to merge two or more arrays in JavaScript?

4 / 15

What is the purpose of the bind() method in JavaScript?

5 / 15

What does the `NaN` property in JavaScript stand for?

6 / 15

What is the output of the following code snippet?

console.log(0.1 + 0.2 === 0.3);

 

7 / 15

What is the purpose of the call() method in JavaScript?

8 / 15

What does the localStorage object in JavaScript allow you to do?

9 / 15

What does the event.stopPropagation() method do in JavaScript?

10 / 15

Which of the following is NOT a valid way to define a function in JavaScript?

11 / 15

What is the output of the following code snippet?

console.log(3 > 2 > 1);

 

 

12 / 15

What is the purpose of the reduce() method in JavaScript?

13 / 15

What is the output of the following code snippet?

console.log(typeof []);

 

14 / 15

Which of the following methods can be used to remove the last element from an array in JavaScript?

15 / 15

What is the purpose of the Promise object in JavaScript?

Your score is

The average score is 51%

0%

Share your love