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