add hw2
This commit is contained in:
		
							
								
								
									
										29
									
								
								node_modules/ramda/es/multiply.js
									
									
									
										generated
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										29
									
								
								node_modules/ramda/es/multiply.js
									
									
									
										generated
									
									
										vendored
									
									
										Executable file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| import _curry2 from "./internal/_curry2.js"; | ||||
| /** | ||||
|  * Multiplies two numbers. Equivalent to `a * b` but curried. | ||||
|  * | ||||
|  * @func | ||||
|  * @memberOf R | ||||
|  * @since v0.1.0 | ||||
|  * @category Math | ||||
|  * @sig Number -> Number -> Number | ||||
|  * @param {Number} a The first value. | ||||
|  * @param {Number} b The second value. | ||||
|  * @return {Number} The result of `a * b`. | ||||
|  * @see R.divide | ||||
|  * @example | ||||
|  * | ||||
|  *      const double = R.multiply(2); | ||||
|  *      const triple = R.multiply(3); | ||||
|  *      double(3);       //=>  6 | ||||
|  *      triple(4);       //=> 12 | ||||
|  *      R.multiply(2, 5);  //=> 10 | ||||
|  */ | ||||
|  | ||||
| var multiply = | ||||
| /*#__PURE__*/ | ||||
| _curry2(function multiply(a, b) { | ||||
|   return a * b; | ||||
| }); | ||||
|  | ||||
| export default multiply; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik