capaj

capaj/array-sugar

Tired of not having a last property on array in Javascript? Tired of not having contains method? This little script solves those.

JavaScript
22
2
MIT License

Array Sugar is a JavaScript library that extends the Array prototype with convenient methods like `last`, `contains`, `remove`, and `unique`, simplifying common array operations. It’s designed for developers who want to write cleaner, more readable code without repeatedly using verbose alternatives like `Math.min.apply` or `array.indexOf`. However, the project is deprecated and explicitly warns against using it due to potential conflicts and the broader issue of modifying native prototypes.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

capaj's profile
capaj
23 contributions
THEtheChad's profile
THEtheChad
1 contributions
dusanbartos's profile
dusanbartos
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet