This segment of code looks slightly different from the rest of the comparisons to "undefined" throughout the code. Is it missing a typeof operator? It's been pretty-printed / cleaned by me, but you should get the general idea to look at net.Socket.prototype.setKeepAlive
This segment of code looks slightly different from the rest of the comparisons to "undefined" throughout the code. Is it missing a
typeof
operator? It's been pretty-printed / cleaned by me, but you should get the general idea to look at net.Socket.prototype.setKeepAliveSaw the project from a Reddit link in /r/JavaScript