'use strict';varGetIntrinsic=require('../GetIntrinsic');var$TypeError=GetIntrinsic('%TypeError%');varIsPropertyKey=require('./IsPropertyKey');varType=require('./Type');// https://ecma-international.org/ecma-262/6.0/#sec-haspropertymodule.exports=functionHasProperty(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');}returnPinO;};