Logo

Javascript Questions Set 210:

Quiz Mode

Why does Node.js rely on event handlers?

1
2
3
4

Solution:

How to calculate the runtime of a code?

1
2
3
4

Solution:

Which function is used to clear a timer set with the setTimeout() method?

1
2
3
4

Solution:

What is the standard way to show a popup in JavaScript?

1
2
3
4

Solution:

Which type of storage allows the caching of web pages and their associated resources?

1
2
3
4

Solution:

Which JavaScript method is used to display a confirmation dialog box?

1
2
3
4

Solution:

How does a user generate multiple keydown events?

1
2
3
4

Solution:

What is the output of the following code?


  const pt1 = {}; 

  const ob1 = Object.create(pt1);  

  console.log(Object.getPrototypeOf(ob1) === pt1);

1
2
3
4

Solution:

To determine whether one object is the prototype of (or is part of the prototype chain of) another object, one should use the ____________ 

1
2
3
4

Solution:

Which of the following is a way of embedding Client-side JavaScript code within HTML documents? 

1
2
3
4

Solution: