Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Object.prototype.hasOwnProperty

node v8.17.0
version: 3.0.0
endpointsharetweet
const object = { name: "Jean", age: 20 }; object.hasOwnProperty("name"); // true object.hasOwnProperty("gender"); // false
console.log("hi")
Loading…

no comments

    sign in to comment