先输入1,再输入2。

这是因为代码是同步执行的,当执行到sendInvoiceEmail函数时,会先执行函数内的代码,然后再执行后续的console.log('1')。所以先输出1,再输出2。

下面代码先输入1还是2为什么:sendInvoiceEmail orderId thisorderId recipientEmail thisstateemail then response = consolelog2; const code data desc = response;

原文地址: https://www.cveoy.top/t/topic/hWeU 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录