github-pages-deploy-action/node_modules/core-js-pure/internals/inspect-source.js

13 lines
338 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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;