|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
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.