async function xxx (){
return await fetch(xx)
...
}
setTimeout(callback, millisecond)
ex)
setTimeout(function () {
console.log('1초 후 실행');
}, 1000);
// 123
const fs = require('fs');
let url =
"https://v1.nocodeapi.com/codestates/google_sheets/YbFMAAgOPgIwEXUU?tabId=최신뉴스";
fetch(url)
.then((response) => response.json())
.then((json) => console.log(json))
.catch((error) => console.log(error));