JavaScript Interview questions

Total available count: 22
Subject - JavaScript Frameworks
Subsubject - JavaScript

What are setTimeout, setInterval and clearInterval in JavaScsript?

  1. The setTimeout(function, delay) function is used to start a timer that calls the  function argument after the delay argument value
  2. The setInterval(function, delay) function is used to execute the function argument in the regular intervals based on the delay argument value
  3. The clearInterval(id) function instructs the timer to stop the execution

Next 5 interview question(s)

What do mean by NULL in JavaScript?
What is an undefined value in JavaScript?
What are all the types of Pop up boxes available in JavaScript?
What are all the looping structures in JavaScript?
What is the use of Void(0)?