noop.js 250 B

123456789101112131415161718
  1. /**
  2. * This method returns `undefined`.
  3. *
  4. * @static
  5. * @memberOf _
  6. * @since 2.3.0
  7. * @category Util
  8. * @example
  9. *
  10. * _.times(2, _.noop);
  11. * // => [undefined, undefined]
  12. */
  13. function noop() {
  14. // No operation performed.
  15. }
  16. module.exports = noop;