Parallele und sequentielle Implementierung mit Asyn warten auf JavaScript
async function oneByOne() {
const number1 = await printNumber1();
const number2 = await printNumber2();
}
//Output: Number1 is done, Number2 is done
Gifted Gazelle