🏠 New in High Baseline Support: Object.hasOwn()

September 14, 2024

caniuse · mdn · spec

The Object.hasOwn() static method checks whether an object has a given property. It’s a more robust alternative to the Object.prototype.hasOwnProperty() method.

Source features