X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Fmath%2Fadd.js;fp=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Fmath%2Fadd.js;h=59ced2fb6e7f7576289f4947d12a637be72fbe8c;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/grunt-legacy-log/node_modules/lodash/math/add.js b/node_modules/grunt-legacy-log/node_modules/lodash/math/add.js new file mode 100644 index 000000000..59ced2fb6 --- /dev/null +++ b/node_modules/grunt-legacy-log/node_modules/lodash/math/add.js @@ -0,0 +1,19 @@ +/** + * 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 + */ +function add(augend, addend) { + return (+augend || 0) + (+addend || 0); +} + +module.exports = add;