jenis tidur

/* For each number in an array, an asynchronous timer lasting the
length of the number is set, printing the number once the timer is up.*/
numbers = [1, 6, 3, 5, 4, 2]

numbers.forEach(num => {
    setTimeout(() => console.log(num), num)
});
Liz