2021-11-01 11:35:48 +08:00

2 lines
71 B
JavaScript

Promise.resolve(1).then(2).then(Promise.resolve(3)).then(console.log);