In terms of terse syntax, it’s true that this could be written in one line which is cool sometimes.

Most of the time you deal with small data sets where the performance difference is probably negligible, but in this case you also have…Continue reading on Medium »

Link: https://medium.com/@Stegosource/in-terms-of-terse-syntax-its-true-that-this-could-be-written-in-one-line-which-is-cool-sometimes-17c2f2703508?source=rss——javascript-5