underscore
underscore copied to clipboard
JavaScript's utility _ belt
Tie-in issue to Backbone issue [#3828](https://github.com/jashkenas/backbone/issues/3828). On Jan 12, 2016 MS is [essentially dropping support for IE8](https://support.microsoft.com/en-us/gp/microsoft-internet-explorer). With that in mind jQuery and Lodash are dropping IE8 support in their...
So this sounds like something lodash isn't going to support yet because it will add quite a bit of code https://github.com/lodash/lodash/issues/737 - but I think it'd be cool to have...
The current implementation of underscore is returning an invalid answer for: ```js _.isEqual(0, new Number(Number.MIN_VALUE)) // expected to be false but was true before the fix ``` Similar to a...
*Edit bij @jgonggrijp: [tldr link](https://github.com/jashkenas/underscore/issues/2882#issuecomment-706246341).* Is this intentional? ```javascript var a = new Error('a') var b = new Error('b') _.isEqual(a, b) // true ``` This holds true for extensions as...
The following expression is useless, since you'd expect the second `chain` call to just return a new wrapper of the same value: ```js _.chain([1]).chain() ``` but rather than behaving like...
I'd like to use a function but it seems it's missing. I didn't find any issue for this, and I didn't find it in https://github.com/documentcloud/underscore-contrib (but I'm not sure how...
Is [isSafeInteger](http://www.ecma-international.org/ecma-262/6.0/#sec-number.issafeinteger) something Underscore should tackle? I went down the rabbit hole a bit with the number methods and ended up with `isSafeInteger`, `isInteger`, `isLength`, `toInteger`, `toSafeInteger`, `toLength`, & `toNumber`.
The new `_.property` is really neat, and I love using it, but there's one problem: it only returns static values. For instance, let's say I want to find out if...
http://jsperf.com/min-max-code-sharing There's a hit on arrays without an iteratee. Looking into speeding that up, but everything else is faster.