commando.html5/node_modules/tap/coverage-example/lib/foo.js
Captain Nick Lucifer* a0bc2d79de dot.dot.dot.exampol
2023-03-10 23:21:16 +05:45

15 lines
233 B
JavaScript

var Foo = module.exports = function(str) {
this.foo = str;
this.str = str;
};
Foo.prototype.bar = function() {
var self = this;
return self.foo;
};
Foo.prototype.baz = function() {
var self = this;
return self.str;
};