_args = args; // 接收的參數存下來 this.taps = []; // 一個存回調的數組 } // tap實例方法用來註冊回調 tap(name, fn) { // 邏輯很簡單,直接保存下 ...
確定! 回上一頁