blog.rockdapus.org
Building a lookup table from an array of objects in ES6
1
ES6 can be short and precise. Look at this tiny algorithm that I use quite regularly. It converts a list of object to a looup table / index / object s... Read full article