JS实现链式调用 a().b().c()时间:2023-03-10 06:49:43 function a() { this.b = function () { console.log('111') return this } this.c = function () { console.log('111') return this } return this } a().b().c()