I completed the algo successfully, but I'm not quite sure how it all works lol
Primarily, I'm confused as to why my filter method has access to array2.. Because I'm calling the filter method on array1 so obviously the values and indices should be available for array1, but why can I access array2?? Is this some type of implied access? Like I understand, since array2 exists, and it has data from the argument, that I'll have some access to array2 within the functional or block scope, but I thought I wouldn't have scope to access array2 within the filter method.. What am I missing?
Thanks in advance smart people 😄