underscore icon indicating copy to clipboard operation
underscore copied to clipboard

JavaScript's utility _ belt

Results 52 underscore issues
Sort by recently updated
recently updated
newest added

Hi there! Let's add function `set` to underscore. #2948

Currently I am using something like: ```typescript const foo = bar.map((baz) => { return { ...baz, qux: baz.qux.map((quux) => { return { ...quux, aNewProperty: 'yay!' } } } }); ```...

enhancement
starter

While class emulation is widespread nowadays, prototypes are JavaScript's true vehicle of inheritance. The following snippets of code, which contain equivalent pairs, demonstrate that prototype-based programming is more fundamental and...

enhancement

At the moment the `_.memoize` cache is just a plain object. If we were to switch it to being a simple wrapper around the cache object (still doing the same...

breaking change

Could this be helpful? http://fitzgeraldnick.com/weblog/59/

enhancement
starter

I don't know if this is intended behavior, but it seems all around confusing if so. My guess is this portion of _.bind was just left untouched when _.partial received...

breaking change
documentation

This is my first time posting a problem here, so if I'm doing something wrong, sorry! I'm getting this error and I don't quite get it. Here I am again...

question

Tried adding dark mode support for the docs on the underscorejs.org homepage. Here's how it looks before and after: ![Screen Shot 2021-02-07 at 15 35 44](https://user-images.githubusercontent.com/1318897/107143283-4f19dc00-695a-11eb-98bb-31a670a162f4.png) ![Screen Shot 2021-02-07 at...

enhancement
documentation
starter

Hi, I want to propose to add a new function called toggle to underscore. At simple level it would toggle the value given to it. i.e if it is passed...

enhancement
question
contrib