Object.hasOwn()

Object.hasOwn() is intended as a replacement for Object.prototype.hasOwnProperty() (mdn docs)

medium post, by igor gonchar