'use strict';varGetIntrinsic=require('get-intrinsic');varcallBound=require('call-bind/callBound');var$TypeError=GetIntrinsic('%TypeError%');varIsArray=require('./IsArray');var$apply=GetIntrinsic('%Reflect.apply%',true)||callBound('%Function.prototype.apply%');// https://ecma-international.org/ecma-262/6.0/#sec-callmodule.exports=functionCall(F,V){varargumentsList=arguments.length>2?arguments[2]:[];if(!IsArray(argumentsList)){thrownew$TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');}return$apply(F,V,argumentsList);};