Using typeof(MessageEvent) to switch two ways to create MessageEvent.
Using typeof(MessageEvent) to switch two ways to create MessageEvent.

nitzo/web-socket-js,keiosweb/web-socket-js,nitzo/web-socket-js,hehuabing/web-socket-js,keiosweb/web-socket-js,gimite/web-socket-js,hanicker/web-socket-js,hanicker/web-socket-js,zhangxingits/web-socket-js,hanicker/web-socket-js,nitzo/web-socket-js,hehuabing/web-socket-js,hehuabing/web-socket-js,keiosweb/web-socket-js,zhangxingits/web-socket-js,zhangxingits/web-socket-js,gimite/web-socket-js,gimite/web-socket-js