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