@searyanc.dev Wait, find
returns the first element for which the callback returns a truthy value, right?
But callback's signature indicates it can't return a truthy value, so in this case find could only ever return undefined
@searyanc.dev Wait, find
returns the first element for which the callback returns a truthy value, right?
But callback's signature indicates it can't return a truthy value, so in this case find could only ever return undefined