NIELIT O Level Exam

Which of the following JavaScript functions is used to delay code execution?

Which of the following JavaScript functions is used to delay code execution?

कोड के निष्पादन (execution) में देरी करने के लिए इनमें से किस JavaScript फ़ंक्शन का उपयोग किया जाता है?

A. wait()

B. pause()

C. setTimeout()

D. setInterval()




Correct Answer is :

C. setTimeout()



Explanation
The setTimeout() function is used to delay the execution of a function or a piece of code by a specified number of milliseconds.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad