UNPKG
@coremail/core-js
Version:
latest (3.20.3-fix-avoid-third-party-bind)
3.20.3-fix-avoid-third-party-bind
Standard library
github.com/zloirock/core-js
zloirock/core-js
@coremail/core-js
/
internals
/
function-call.js
8 lines
(5 loc)
•
206 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
NATIVE_BIND
=
require
(
'../internals/function-bind-native'
);
var
call =
Function
.
prototype
.
call
;
module
.
exports
=
NATIVE_BIND
? call.
bind
(call) :
function
(
) {
return
call.
apply
(call,
arguments
); };