You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
338 B
13 lines
338 B
4 years ago
|
var store = require('../internals/shared-store');
|
||
|
|
||
|
var functionToString = Function.toString;
|
||
|
|
||
|
// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
|
||
|
if (typeof store.inspectSource != 'function') {
|
||
|
store.inspectSource = function (it) {
|
||
|
return functionToString.call(it);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
module.exports = store.inspectSource;
|