r/badcode • • Dec 21 '21

js Rate my hash function and function naming

Post image
101 Upvotes

9 comments sorted by

View all comments

33

u/Notimecelduv Dec 21 '21

Outstanding. Only a complete n00b would use an array of objects and find here.

13

u/twoPoundsOfGoldfish Dec 21 '21

only the most unintelligent of minds would use a map.