Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following method will wait for certain milliseconds to execute a specified method?

  2. A.

     setInterval()

    B.

     setTimeout()

    C.

     setmilli()

    D.

     setseconds()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The setInterval() method will wait a specified number of milliseconds, and then execute a specified function, and it will continue to execute the function, once at every given time-interval.


Be The First To Comment