Skip to content

Commit ea63b29

Browse files
committed
[minor] Fix typo
1 parent 66e58d2 commit ea63b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/websocket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class WebSocket extends EventEmitter {
128128
*/
129129
/* istanbul ignore next */
130130
get onerror() {
131-
return null;
131+
return undefined;
132132
}
133133

134134
/* istanbul ignore next */

0 commit comments

Comments
 (0)