// according to https://github.com/baygeldin/ws-streamify/issues/1
// Nodejs WebSocketServer cause memory leak
// Handlers like onerror, onclose, onmessage and onopen are accessible via setter/getter
// And setter first of all fires removeAllListeners, that doesnt make inner array of clients on
var eventListenerSupport = ('undefined' === typeof socket.addEventListener)
The sign ‘===’ in this line of code should change to ‘!==’.
var eventListenerSupport = ('undefined' === typeof socket.addEventListener)
The sign ‘===’ in this line of code should change to ‘!==’.