Skip to content

Instantly share code, notes, and snippets.

@mkantor
Created February 6, 2015 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkantor/255d22f9c3fa918387dd to your computer and use it in GitHub Desktop.
Save mkantor/255d22f9c3fa918387dd to your computer and use it in GitHub Desktop.
/**
* 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