You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cool. I've wanted these many times--much more useful, IMHO, than indexOf. How about an es6 dir with poly/es6/array (or maybe name it es6ish?), which could pull in poly/array (which we could consider moving to poly/es5/array, but that could be a breaking change for some users). Then we could offer a poly/es6 shim (sham)?
If you want all the shimmable features in ES6, I recommend just including https://github.com/paulmillr/es6-shim/ which is up to date with the current spec, and fully tested. Patches welcome :-)
See these gists:
find: https://gist.github.com/rwldrn/5079436
findIndex: https://gist.github.com/rwldrn/5079427
The text was updated successfully, but these errors were encountered: