Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MyClass() {
- }
- module.exports = MyClass;
- MyClass.prototype = {
- foo: function(bar) {
- return bar;
- },
- bar: function() {
- this.foo();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement