JavaScript, Computer Science, Algorithms, Data Structures, Learning.
every programming language and it’s called a “hash map” — the difference with my array approach is that accessing data in a hash map is instant vs having to go over every item inside the array to find the one with the correct id , hash map is clearly the winner here. And now we get to the meat of