main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
432 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var NATIVE_BIND = require('../internals/function-bind-native');
|
---|
3 |
|
---|
4 | var FunctionPrototype = Function.prototype;
|
---|
5 | var apply = FunctionPrototype.apply;
|
---|
6 | var call = FunctionPrototype.call;
|
---|
7 |
|
---|
8 | // eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
---|
9 | module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
---|
10 | return call.apply(apply, arguments);
|
---|
11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.