标签: javascript
我试图让以下内容打印出来-1,而只是显示该功能。
-1
function Builder(first, second) { this.first = first; this.second = second; this.equation = function(){ return this.first - this.second; }; } var test = new Builder(2,3); console.log(test.equation);