Name: js-handler/node_modules/nodeunit/node_modules/tap/coverage-example/lib/bar.js
| 1: | var Bar = module.exports = function(str) { |
| 2: | this.bar = str; |
| 3: | this.str = str; |
| 4: | }; |
| 5: | |
| 6: | Bar.prototype.foo = function() { |
| 7: | var self = this; |
| 8: | return self.bar; |
| 9: | }; |
| 10: | |
| 11: | Bar.prototype.baz = function() { |
| 12: | var self = this; |
| 13: | return self.str; |
| 14: | }; |
