updated folder structure

This commit is contained in:
brightboost
2021-11-25 14:40:42 +01:00
parent 3201b7b09c
commit f8bde27fc6
78 changed files with 0 additions and 0 deletions
@@ -0,0 +1,16 @@
function saySomething(x) {
return new Promise(resolve => {
setTimeout(() => {
resolve('something' + x);
}, 2000);
});
}
async function talk(x) {
const words = await saySomething(x);
console.log(words);
}
talk(2);
talk(4);
talk(8);