mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Remove references to _.
This commit is contained in:
3
add.js
3
add.js
@@ -4,7 +4,6 @@ import createMathOperation from './_createMathOperation.js';
|
||||
* Adds two numbers.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.4.0
|
||||
* @category Math
|
||||
* @param {number} augend The first number in an addition.
|
||||
@@ -12,7 +11,7 @@ import createMathOperation from './_createMathOperation.js';
|
||||
* @returns {number} Returns the total.
|
||||
* @example
|
||||
*
|
||||
* _.add(6, 4);
|
||||
* add(6, 4);
|
||||
* // => 10
|
||||
*/
|
||||
const add = createMathOperation((augend, addend) => augend + addend, 0);
|
||||
|
||||
Reference in New Issue
Block a user