Shouldn't await force execution to wait?

前端 未结 0 690
眼角桃花
眼角桃花 2020-12-01 08:43

I have JavaScript code that looks like this (using Sequelize in Node):

if (require.main == module) {
    (async () => {
        const my_var = await MyMode         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题