massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / inspect-source.js
1 var uncurryThis = require('../internals/function-uncurry-this');
2 var isCallable = require('../internals/is-callable');
3 var store = require('../internals/shared-store');
4
5 var functionToString = uncurryThis(Function.toString);
6
7 // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
8 if (!isCallable(store.inspectSource)) {
9   store.inspectSource = function (it) {
10     return functionToString(it);
11   };
12 }
13
14 module.exports = store.inspectSource;