John-David Dalton
John-David Dalton
I’m curious if there are benchmarks between this and say native ESM loading. Just to get a rough idea of cost (cached/cold). Thanks!
Just wanted to give you a heads up that as Lo-Dash moves to its v1.0.0 (currently at v1.0.0-rc.3) you will want to use the prebuilt Underscore compat bulds (`lodash.underscore.js` and...
I'd like to point folks to a Babel alternative for their TypeScript projects. I noticed you cover the feature gaps-and-fills [here](http://shuheikagawa.com/blog/2016/05/08/angular-2-with-babel/). Do you see a benefit to breaking out the...
For example see step 9 of this https://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.filter ``` js var i = document.createElement('iframe'); i.name = 'iframe'; i.style.display = 'none'; document.body.insertBefore(i, document.body.firstChild); var f = frames.iframe; f.document.write(''); f.document.close(); var otherArray...
Related to https://github.com/browserify/resolve/issues/169. It would be great if `path-parse` required 2fa for publishing (it may already). Maintainers can toggle this in the npm website ui for the package or [via...
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...
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...
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`.
Continuing the [discussion](https://github.com/jashkenas/underscore/commit/bdb06bcfcdcc85bfe3b494d9907762945f7d7c49#commitcomment-13243061), at the moment: ``` js _.size('💕') // => 2 ``` Since `str.length` is trivial I think it --may-- be handy if `_.size` returned the number of symbols...
Methods like `_.sample`, `_.first`, `_.initial`, `_.last`, & `_.rest` have guards to support being used as an iteratee for methods like `_.map`. I think it'd be great if this was expanded...