Contents

What does the pushState() method do?
a) Removes the state
b) Adds new state
c) Replaces the state
d) Change the state

b

Which of the following method is used to replace the current history state instead of adding a new state to the browsing history?
a) replaceState()
b) replace(state)
c) replace()                           
d) change()

a

How many parameters does the replaceState() method take?
a) 2                                                        
b) 3
c) 4                                                        
d) 5

b

What is the purpose of the event window.onpopstate?
a) When a state object is replaced
b) When a state object is added
c) When a state object is removed
d) When a state object is changed

c

R is an extension of which of the following language?
a) C                                       
b) C++
c) S                                                        
d) C#

c

Which of the following is/are statistical languages?
a) R                                       
b) S
c) P                                        
d) Both R and S

c