This commit is contained in:
2026-03-10 10:54:20 -04:00
parent 1fdfbb1b4f
commit b732795717
14 changed files with 3482 additions and 3 deletions
@@ -0,0 +1,14 @@
function fetchData() {
return new Promise((resolve) => {
setTimeout(() => {
resolve("Data received");
}, 2000);
});
}
async function displayData() {
const data = await fetchData();
console.log(data);
}
displayData();