What do you mean they are more efficient because they implicitly return a new array?
Your 3rd example even has a syntax error. Learn something before making a post, otherwise this is just embarrasing.
I would have appreciated your comment if you could have pointed out nicely - that there is a syntax error. But you cross the line of commenting properly - I would suggest learn how to comment nicely otherwise it is also embarrassing to read your rude comment.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What do you mean they are more efficient because they implicitly return a new array?
Your 3rd example even has a syntax error. Learn something before making a post, otherwise this is just embarrasing.
I would have appreciated your comment if you could have pointed out nicely - that there is a syntax error. But you cross the line of commenting properly - I would suggest learn how to comment nicely otherwise it is also embarrassing to read your rude comment.