tomayac’s avatartomayac’s Twitter Archive—№ 12,312

  1. …in reply to @nelson
    @nelson Definitely use async/await, it makes your code so much more readable and easier to follow, and browser support is great (caniuse.com/#feat=async-functions). Also check out Promise.all (developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all), and for await… of (developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await…of).