Ohm-Management - Projektarbeit B-ME
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.

_setToString.js 392B

1234567891011121314
  1. var baseSetToString = require('./_baseSetToString'),
  2. shortOut = require('./_shortOut');
  3. /**
  4. * Sets the `toString` method of `func` to return `string`.
  5. *
  6. * @private
  7. * @param {Function} func The function to modify.
  8. * @param {Function} string The `toString` result.
  9. * @returns {Function} Returns `func`.
  10. */
  11. var setToString = shortOut(baseSetToString);
  12. module.exports = setToString;