我有这个方法:
var stopwatch = function () {
this.start = function () {
(...)
};
this.stop = function() {
(...)
};
};
当我尝试调用它时:
stopwatch.start();
我越来越Uncaught TypeError: Object (here is my function) has no method 'start'
。我究竟做错了什么?