InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is not a WebSocket event?(a) open(b) close(c) error(d) denyThe question was asked in unit test.I want to ask this question from Web Sockets topic in portion Sockets of JavaScript |
|
Answer» CORRECT choice is (d) deny Explanation: There is no WebSocket event named deny. The four WebSocket EVENTS are open close message error Listen to these events using ADDEVENTLISTENER() or by assigning an event listener to the oneventname PROPERTY of this interface. |
|