javascript array some vs find performance