为什么下面代码的输出 Promise {<pending>}不是Response. 我做错了什么?await fetch("https://...")也不工作。
function asynchronousFunction() {
return fetch("https://thatcopy.pw/catapi/rest/")
}
const mainFunction = async () => {
const result = await asynchronousFunction()
return result;
}
console.log(mainFunction())