-
Notifications
You must be signed in to change notification settings - Fork 373
Closed
Description
Is your feature request related to a problem? Please describe.
i was going through the source code and found the lodash.js file in lib of node modules. it contains the basic functions that already in node but defining it again in lodash.js and using it in the main code seems a little off. for eg in lodash.js
const map = function(array, element, callback)
which can be also written as follow
const Array = Array.prototype
Array.map.call(array, element, callback)`
or simply
array.map() or array.forEach() etc
without lodash file.
Describe the solution you'd like
I would like to suggest to keep only those function like .isEmpty() which are not node implementation, implement other function like(.map, .filter) normally without lodash.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels