Aug 28, 2024
The `in` operator like with ... `key in object` ... returns `true` (respectively `false`) for both kind of properties, own and prototypal ones, there is no distinction in between the two. Thus, especially taking the `in` operator into account, an object is not as much a reliable data-structure for lookups as both `Map` and `Set` data-types are.