JavaScript: Binary Search in an Array of Objects | Dark Hacker News