30mins八股+15mins的编程题1、为什么项目要用到ts2、事件捕获和冒泡是怎么样的,如何阻止事件捕获和冒泡(当时答错了,不应该)。3、js的事件循环是怎么样的,讲一下宏任务和微任务,宏任务先执行还是微任务先执行。4、然后做一道promise的场景题,问输出顺序。然后还问.then()后面还能一直再加.then()吗 setTimeout(function (){ console.log('1') }); new Promise((resolve) =>{ console.log('2'); resolve('3'); }).then(val =>{ con...