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. None of the mentioned
Answer: Option C
A. When a state object is replaced
B. When a state object is added
C. When a state object is removed
D. None of the mentioned
Answer: Option C
What does the value 2 of the WebSocket attribute Socket.readyState indicate?
A. Closed connection
B. Handshake connection
C. Unestablished connection
D. Established connection and communication is possible
Which method is used to close the WebSocket?
A. Socket.flush()
B. Socket.close()
C. Socket.Close()
D. Socket.dispose()
Join The Discussion