1.

Which of the following is not a socket property?(a) onopen(b) readyState(c) onmessage(d) readyI got this question in an internship interview.This intriguing question comes from Web Sockets topic in division Sockets of JavaScript

Answer» CORRECT choice is (d) ready

Explanation: There is no Socket property called ready. VARIOUS Socket properties INCLUDE onopen, READYSTATE, ready, binaryTree, onclose, onerror etc.


Discussion

No Comment Found

Related InterviewSolutions