我试图使用async/await调用一个函数(findNextOper() ),当我调用它时,我得到了这个错误: (node:2748) UnhandledPromiseRejectionWarning: TypeError: (intermediate value) is not a function 我试着在不同的位置添加分号,但不起作用。(0); resolve(result[result.length-1]); })();
}; 我想按顺序执
(node:1740) UnhandledPromiseRejectionWarning: TypeError: undefined is not a function at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1740) UnhandledPromiseRejectionWarning