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:
479 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var uncurryThis = require('../internals/function-uncurry-this');
|
---|
3 | var isCallable = require('../internals/is-callable');
|
---|
4 | var store = require('../internals/shared-store');
|
---|
5 |
|
---|
6 | var functionToString = uncurryThis(Function.toString);
|
---|
7 |
|
---|
8 | // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
---|
9 | if (!isCallable(store.inspectSource)) {
|
---|
10 | store.inspectSource = function (it) {
|
---|
11 | return functionToString(it);
|
---|
12 | };
|
---|
13 | }
|
---|
14 |
|
---|
15 | module.exports = store.inspectSource;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.