Could anyone point me in the right direction where i can read about the solution. It works fine in console and lost for ideas at this point.
Promise.all( [Di