add floatAdd

This commit is contained in:
mol
2024-06-06 10:04:28 +08:00
parent 0e1fe78cc5
commit 530e3ac1d9
655 changed files with 21752 additions and 0 deletions

27
node_modules/lodash-es/_createOver.js generated vendored Normal file
View File

@ -0,0 +1,27 @@
import apply from './_apply.js';
import arrayMap from './_arrayMap.js';
import baseIteratee from './_baseIteratee.js';
import baseRest from './_baseRest.js';
import baseUnary from './_baseUnary.js';
import flatRest from './_flatRest.js';
/**
* Creates a function like `_.over`.
*
* @private
* @param {Function} arrayFunc The function to iterate over iteratees.
* @returns {Function} Returns the new over function.
*/
function createOver(arrayFunc) {
return flatRest(function(iteratees) {
iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
return baseRest(function(args) {
var thisArg = this;
return arrayFunc(iteratees, function(iteratee) {
return apply(iteratee, thisArg, args);
});
});
});
}
export default createOver;