编辑代码

console.log("script run!");
setTimeout(function() {
    console.log("timer 1 start!")
}, 0);
new Promise(function (resolve, reject) {
    setTimeout(function () {
        console.log("promise inner timer")
    }, 0);
    resolve();
}).then(function() {
    console.log("promise 1 start!");
}).then(function () {
    console.log("promise 2 start!");
});
console.log("script end!");