'use strict';varGetIntrinsic=require('../GetIntrinsic');var$TypeError=GetIntrinsic('%TypeError%');varhas=require('has');varIsPropertyKey=require('./IsPropertyKey');varType=require('./Type');// https://ecma-international.org/ecma-262/6.0/#sec-hasownpropertymodule.exports=functionHasOwnProperty(O,P){if(Type(O)!=='Object'){thrownew$TypeError('Assertion failed: `O` must be an Object');}if(!IsPropertyKey(P)){thrownew$TypeError('Assertion failed: `P` must be a Property Key');}returnhas(O,P);};