F12 查看输出
setTimeout(function () {
console.log('end');
});
Promise.resolve(2)['finally'](function () {
return console.log('finally');
}).then(function (value) {
return console.log(value);
});
console.log('start');