Created
February 6, 2015 05:06
-
-
Save mkantor/255d22f9c3fa918387dd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/** | |
* Example of assigning a constructor to module.exports and methods to its | |
* prototype. | |
* @module | |
*/ | |
/** @constructor */ | |
module.exports = function() {}; | |
/** An instance method. */ | |
module.exports.prototype.foo = function() {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment