Array.prototype.find
Array.prototype.find copied to clipboard
Simple ES6 Array.prototype.find polyfill for older environments.
Hi! Here are some changes based on the latest spec changes: - Array operations no longer use `ToUint32`. Instead, they use [`ToLength`](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength) which makes much more sense. - Uncallable predicates...
When using this polyfill for the first time I didn't realise it was so big (somewhere between 10 and 20kb depending on how the code is minified). This is in...
Hi, I am using this to solve my problem for IE / Edge that does not support [Array.find()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find#Browser_compatibility) Below is my piece of code that i am using in my...