Contents

Which method receives the return value of setTimeout() to cancel future invocations?
a) clearTimeout()              
b) clearInterval()
c) clearSchedule()               
d) cancelInvocation()

a

What will happen if we call setTimeout() with a time of 0 ms?
a) Placed in stack               
b) Placed in queue
c) Will run continuously
d) Will execute immediately

b

To which object does the location property belong?
a) Window                           
b) Position
c) Element                            
d) Location

a

The URL property belongs to which of the following object?
a) Document                       
b) Element
c) Location                          
d) Event

a

What does the location property represent?
a) Current DOM object
b) Current URL
c) Both DOM object and URL
d) Document

b

Which among the following is not a property of the Location object?
a) protocol                           
b) host
c) hostee                                               
d) hostname

c