🔥 When working with an API, I often need to chunk up a list of users and send them in batches.
Array.from() is a great way to chunk up arrays because of the secondary argument being a map function.
🔥 New in ES2019, we have a .flat() method to flatten these types of chunked arrays.
🔥 Use Intl.PluralRules() to easily find the ordinal for numbers - 1st, 2nd, 3rd, 4th...