on: function(event, fn) { var handles = this._handles || (this._handles = {}), calls = handles[event] || (handles[event] = []); // 找到對應名字的棧 calls.push(fn); return this; }在這個函數中,return this到底是什么意思,調用這個函數的時候并沒有和賦值語句一起使用?。空垎枮楹芜€要使用?
在js中關于return this的問題
慕娘9325324
2018-08-06 06:05:21