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
Now newArr will have 3 items: 1, 2 and undefined which is wrong and undefined should not be added.
Also calling contact on array without any parameter is valid in JS and does not add undefined.
Lets have this code:
Now
newArr
will have 3 items: 1, 2 and undefined which is wrong and undefined should not be added.Also calling
contact
on array without any parameter is valid in JS and does not add undefined.I can make PR if u want? @eram
The text was updated successfully, but these errors were encountered: