source: imaps-frontend/node_modules/core-js/internals/inspect-source.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 479 bytes
Line 
1'use strict';
2var uncurryThis = require('../internals/function-uncurry-this');
3var isCallable = require('../internals/is-callable');
4var store = require('../internals/shared-store');
5
6var 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
9if (!isCallable(store.inspectSource)) {
10 store.inspectSource = function (it) {
11 return functionToString(it);
12 };
13}
14
15module.exports = store.inspectSource;
Note: See TracBrowser for help on using the repository browser.