Hacker News new | ask | show | jobs
by k__ 1816 days ago
Good point.

Collection types are prevalent in languages like Java, but JS devs had to use plain objects for years.

1 comments

Which is why you needed to build an actual data structure to do this kind of work based off checking for against the prototype chain instead of assuming you can use tiny bits of direct JavaScript operators.