Skip to content

Use of lodash.js in node codegens #163

@darkCavalier11

Description

@darkCavalier11

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions