MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / add

Function add

lib/web/jshint.js:12978–12980  ·  view source on GitHub ↗

* Adds two numbers. * * @static * @memberOf _ * @category Math * @param {number} augend The first number to add. * @param {number} addend The second number to add. * @returns {number} Returns the sum. * @example * * _.add(6, 4); * // => 10

(augend, addend)

Source from the content-addressed store, hash-verified

12976 * // => 10
12977 */
12978 function add(augend, addend) {
12979 return (+augend || 0) + (+addend || 0);
12980 }
12981
12982 /**
12983 * Gets the maximum value of `collection`. If `collection` is empty or falsey

Callers 4

LoadPlyClass · 0.50
addMethod · 0.50
runMethod · 0.50
addMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected