main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
359 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var classofRaw = require('../internals/classof-raw');
|
---|
3 | var uncurryThis = require('../internals/function-uncurry-this');
|
---|
4 |
|
---|
5 | module.exports = function (fn) {
|
---|
6 | // Nashorn bug:
|
---|
7 | // https://github.com/zloirock/core-js/issues/1128
|
---|
8 | // https://github.com/zloirock/core-js/issues/1130
|
---|
9 | if (classofRaw(fn) === 'Function') return uncurryThis(fn);
|
---|
10 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.