How will you update the URL displayed in the location bar?
A. location
B. location.URL
C. location.hash
D. url
Answer: Option C
Solution(By Examveda Team)
The property location.hash needs to be updated to display the updated URL in the location bar.Related Questions on Sockets
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