0c13c69ee735f69f3fdff84b25a0a6f5d0bda3e9a947a62d722d95704a02e8f00efa9e7ccc5c9224a2f3bb272edb22dcd808fc7cf0251d6f5050715a103f20 467 B

12345678910111213141516171819202122
  1. import createMathOperation from './_createMathOperation.js';
  2. /**
  3. * Adds two numbers.
  4. *
  5. * @static
  6. * @memberOf _
  7. * @since 3.4.0
  8. * @category Math
  9. * @param {number} augend The first number in an addition.
  10. * @param {number} addend The second number in an addition.
  11. * @returns {number} Returns the total.
  12. * @example
  13. *
  14. * _.add(6, 4);
  15. * // => 10
  16. */
  17. var add = createMathOperation(function(augend, addend) {
  18. return augend + addend;
  19. }, 0);
  20. export default add;