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
The standard Array iterator functions like forEach() and map() take a callback function with the signature: function(element, index, array). The Lazy Array here takes a callback with the signature: function(element). I understand why the third argument doesn't necessarily make sense in this context, but it seems like the lazy array implementation should at least accept functions of the form: function(element, index).
The text was updated successfully, but these errors were encountered:
The standard Array iterator functions like forEach() and map() take a callback function with the signature: function(element, index, array). The Lazy Array here takes a callback with the signature: function(element). I understand why the third argument doesn't necessarily make sense in this context, but it seems like the lazy array implementation should at least accept functions of the form: function(element, index).
The text was updated successfully, but these errors were encountered: