Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Object.prototype.hasOwnProperty
node v8.17.0
version:
3.0.0
endpoint
share
tweet
const object = { name: "Jean", age: 20 }; object.hasOwnProperty("name"); // true object.hasOwnProperty("gender"); // false
console.log("hi")
Loading…
no comments
sign in
to comment