source: imaps-frontend/node_modules/core-js/internals/function-uncurry-this.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 445 bytes
Line 
1'use strict';
2var NATIVE_BIND = require('../internals/function-bind-native');
3
4var FunctionPrototype = Function.prototype;
5var call = FunctionPrototype.call;
6// eslint-disable-next-line es/no-function-prototype-bind -- safe
7var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
8
9module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
10 return function () {
11 return call.apply(fn, arguments);
12 };
13};
Note: See TracBrowser for help on using the repository browser.