loading...

re: Find and Replace elements in Array with JavaScript VIEW POST

FULL DISCUSSION
 

Array.find will not return a Boolean value in your examples. Instead the value itself will be returned. Or the undefined, if there is no match.

 

You are perfectly right, i've updated the text

Code of Conduct Report abuse