Lakshya Education MCQs

Question: What is the method used to stop an execution of a method?
Options:
A.clearInterval()
B.clcearTimeout()
C.both clearInterval() and clcearTimeout()
D.none of the mentioned
Answer: Option C

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. What is the meaning of JavaScript Hoisting?
  1.    Moving declarations to bottom
  2.    Moving declarations to top
  3.    Hosting variables by itself
  4.    None of the mentioned
Answer: Option B
Question 2. What is the function of the XML parser?
  1.    Converts XML document to XML DOM object
  2.    Converts XML DOM object to XML document
  3.    Converts XML DOM object to a comment
  4.    None of the mentioned
Answer: Option A
Question 3. What is the purpose of the method ActiveXObject()?
  1.    Used to call automation object
  2.    Used to reference automation object
  3.    Used to instantiate automation object
  4.    All of the mentioned
Answer: Option C
Question 4. Which of the following method will wait for certain milliseconds to execute a specified method?
  1.    setInterval()
  2.    setTimeout()
  3.    setmilli()
  4.    setseconds()
Answer: Option A
Question 5. Which of the following method loads a new document?
  1.    location.new()
  2.    loadnew()
  3.    location.load()
  4.    location.assign()
Answer: Option D
Question 6. What is the purpose of the window.location object in JavaScript?
  1.    Get the URL and redirect
  2.    Get the location of the cursor
  3.    Get the path to the next page
  4.    All of the mentioned
Answer: Option A

Check all Questions in this Topic : Click HERE