The filter method got a single function and inside it, it got a single parameter( this parameter contains all the items from the array ). The filter method always returns a new Array and it doesn't modify the original array. Check the below code snip...
Markdown supported · ⌘↵ to post
No responses yet.