JavaScript Object.prototype.hasOwnProperty()

node v14.20.1
version: 1.0.0
endpointsharetweet
const obj = { propA: 'Value', propB: false } console.log('propA:', obj.hasOwnProperty('propA')); console.log('propC:', obj.hasOwnProperty('propC'));
Loading…

no comments

    sign in to comment