Created
January 11, 2014 15:19
-
-
Save stormslowly/8372150 to your computer and use it in GitHub Desktop.
nodejs inherit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Socket(options) { | |
// ... | |
stream.Stream.call(this); | |
// ... | |
} | |
util.inherits(Socket, stream.Stream); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment