function a() { this.b = function () { console.log('111') return this } this.c = function () { console.log('111') return this } return this } a().b().c()