JS

Objects in JavaScript - Object properties - check ...

19.

How can you check if an object has a specific property in JavaScript?

obj.hasOwnProperty()

Object.keys()

Object.prototype.hasOwnProperty()

obj.propertyIsEnumerable()