Advertisement
Guest User

Untitled

a guest
Jan 16th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function MyClass() {
  2. }
  3.  
  4. module.exports = MyClass;
  5.  
  6. MyClass.prototype = {
  7.     foo: function(bar) {
  8.         return bar;
  9.     },
  10.     bar: function() {
  11.         this.foo();
  12.     }
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement