Javascript – Elegant way to use a big Promise.all?
I am working on a game and I have a spot in the code where I load all the resources in parallel. Currently it looks something like this: let [ grassTexture, stoneTexture, waterTexture, skyTexture, sandTexture, woodTexture, carpetTexture, paperTexture, steelTexture ]…