proposal-array-unique icon indicating copy to clipboard operation
proposal-array-unique copied to clipboard

Callback arguments

Open zloirock opened this issue 4 years ago • 0 comments

In examples in the README and the polyfill, in case, if it's used with a callback, a callback takes only one argument - a value. Maybe makes sense to make it consistent with the rest array methods (like .filter) and pass 3 arguments - value, index, and array?

zloirock avatar Feb 17 '21 10:02 zloirock