Hetarth02 / js-array-helpers

Array Helper functions for your quick use.
MIT License
8 stars 9 forks source link

Revert to function based approch #9

Closed suyashvash closed 2 years ago

suyashvash commented 2 years ago

The class-based approach is bad for such a use case bcz while importing a class whole code gets imported resulting in a size increase. With a functional approach only required functions will take space.

Hetarth02 commented 2 years ago

Seems fair, will port it back to function based approach. Thank you for the suggestion.