This would be the implementation of taking an array of numbers as an input and returning a new array with each number in both declarative and imperative ways
With Promise.all run array in our promises and resolve a time with new Promise to log after out timeout ended.
With flat for Example array.flat(deps) and deps as a argument can flat of each array in another one.
When calling a new object with method get() to return 404, it has always returned 404 as we want.