Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
346 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var store = require('../internals/shared-store');
|
---|
| 2 |
|
---|
| 3 | var functionToString = Function.toString;
|
---|
| 4 |
|
---|
| 5 | // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
---|
| 6 | if (typeof store.inspectSource != 'function') {
|
---|
| 7 | store.inspectSource = function (it) {
|
---|
| 8 | return functionToString.call(it);
|
---|
| 9 | };
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | module.exports = store.inspectSource;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.