let asyncCalculator = new AsyncCalculator(0);let asyncCalculateResult = ( await ( await ( await ( await asyncCalculator.plusAsync(1) ).minusAsync(2) ).multiplyAsync(3) ).divideAsync(4)).calculateResult
let asyncCalculator = new AsyncCalculator(0);let asyncCalculateResult = await asyncCalculator.plusAsync(1) .then(c => c.minusAsync(2)) .then(c => c.multiplyAsync(3)) .then(c => c.divideAsync(4)) .then(c => c.calculateResult)
參考來源:https://es.discourse.group/t/await-postfix-operator/1244/4(分享此用法的該名網友是位JS大師,真的學到了。)