1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-23 00:56:30 -05:00
notes/node_modules/lodash/multiply.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

23 lines
530 B
JavaScript

var createMathOperation = require('./_createMathOperation');
/**
* Multiply two numbers.
*
* @static
* @memberOf _
* @since 4.7.0
* @category Math
* @param {number} multiplier The first number in a multiplication.
* @param {number} multiplicand The second number in a multiplication.
* @returns {number} Returns the product.
* @example
*
* _.multiply(6, 4);
* // => 24
*/
var multiply = createMathOperation(function(multiplier, multiplicand) {
return multiplier * multiplicand;
}, 1);
module.exports = multiply;