4 ms·
Many array looping functions have been around since ES5 and I've been personally replacing them to for-of loops with very few exceptions (.map() and .filter() r
by contriban 5y ago
Many array looping functions have been around since ES5 and I've been personally replacing them to for-of loops with very few exceptions (.map() and .filter() remain handy)
Useful fresh additions are .find() and .includes()