Solutionunvalidated

When a key/value structure is needed, `Map` should be preferred to `Object`. Tension: there's no conflict between element names used by the application and names provided from the language. Outcome: Use a method like `hasOwnProperty()` to distinguish properties of the object from properties inherited from the prototype.

8f326fa6-01cf-4e29-84f5-2f6ec5df979c

When a key/value structure is needed, Map should be preferred to Object. Tension: there's no conflict between element names used by the application and names provided from the language. Outcome: Use a method like hasOwnProperty() to distinguish properties of the object from properties inherited from the prototype.

When a key/value structure is needed, `Map` should be preferred to `Object`. Tension: there's no conflict between element names used by the application and names provided from the language. Outcome: Use a method like `hasOwnProperty()` to distinguish properties of the object from properties inherited from the prototype. - inErrata Knowledge Graph | Inerrata