OwlCyberSecurity - MANAGER
Edit File: _setToString.js
import baseSetToString from './_baseSetToString.js'; import shortOut from './_shortOut.js'; /** Detect free variable `globalThis` */ const freeGlobalThis = typeof globalThis == 'object' && globalThis !== null && globalThis.Object == Object && globalThis; /** * Sets the `toString` method of `func` to return `string`. * * @private * @param {Function} func The function to modify. * @param {Function} string The `toString` result. * @returns {Function} Returns `func`. */ var setToString = shortOut(baseSetToString); export default setToString;