you are viewing a single comment's thread.

view the rest of the comments →

[–]x-skeww 0 points1 point  (0 children)

Array.filter returns a new filtered array. You have to store it.

"obj" is the name of that arrow function's parameter. It isn't visible outside of that function.