'use strict';varGetIntrinsic=require('../GetIntrinsic');var$TypeError=GetIntrinsic('%TypeError%');varinspect=require('object-inspect');varIsCallable=require('./IsCallable');// https://www.ecma-international.org/ecma-262/6.0/#sec-callmodule.exports=functionCall(F,V){varargs=arguments.length>2?arguments[2]:[];if(!IsCallable(F)){thrownew$TypeError(inspect(F)+' is not a function');}returnF.apply(V,args);};