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

15 lines
233 B
JavaScript

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