Syntaxe de fonction asynchrone en javascript
const foo = async () => {
await// do something
}
// OR
async function foo() {
await// do something
}
Inquisitive Iguana
const foo = async () => {
await// do something
}
// OR
async function foo() {
await// do something
}