stubString.js 290 B

12345678910111213141516171819
  1. /**
  2. * This method returns an empty string.
  3. *
  4. * @static
  5. * @memberOf _
  6. * @since 4.13.0
  7. * @category Util
  8. * @returns {string} Returns the empty string.
  9. * @example
  10. *
  11. * _.times(2, _.stubString);
  12. * // => ['', '']
  13. */
  14. function stubString() {
  15. return '';
  16. }
  17. module.exports = stubString;