Skip to content

Glossary: Software Design Patterns in JavaScript

Object.hasOwn

Checks whether a key is the object's own, not inherited, so a name like "constructor" can't sneak into the CARRIERS lookup.

Where the book teaches it

Related terms

MapSimple factory