Although `in` possibly opens you up to prototype issues. JavaScript is a bundle of fun.
Collection types are prevalent in languages like Java, but JS devs had to use plain objects for years.