米脂
var AI = function () { this.timeout = null; this.cancel = function () {
clearTimeout(this.timeout); return this;
} this.talk = function () { this.timeout = setTimeout(() => console.log('talk')); return this
}
}var ai = new AI()
ai.talk().cancel()