'use strict';varGetIntrinsic=require('../GetIntrinsic');var$TypeError=GetIntrinsic('%TypeError%');varIsPropertyKey=require('./IsPropertyKey');varType=require('./Type');// https://www.ecma-international.org/ecma-262/6.0/#sec-ordinaryhaspropertymodule.exports=functionOrdinaryHasProperty(O,P){if(Type(O)!=='Object'){thrownew$TypeError('Assertion failed: Type(O) is not Object');}if(!IsPropertyKey(P)){thrownew$TypeError('Assertion failed: P must be a Property Key');}returnPinO;};