begin,
end,
setTimeout1,
resolve(),
a,
resolve(),
promise1,
b
promise2,
setTimeout2