41.What is the purpose of Socket.readyState atribute of WebSocket? The readonly attribute readyState represents the state of the connection. It can have the following values: A value of 0 indicates…
HTML5Interview Questions and AnswersTechnical Interview Questions and Answers