<https://leetcode.com/problems/kids-with-the-greatest-number-of-candies> **THIS WORKS, OK?** ```ts function kidsWithCandies(candies: number[], extraCandies: number): boolean[] { let max = Math.max(...candies); return candies.map((kid) => kid + extraCandies >= max) }; ``` **SOMEHOW THIS DOESN'T WORK WTF!!?** ```ts function kidsWithCandies(candies: number[], extraCandies: number): boolean[] { let result = [] let max = Math.max(...candies); for (const kid in candies) { result.push((kid + extraCandies) >= max) } return result }; ``` **YET THIS WORKS???** ```ts function kidsWithCandies(candies: number[], extraCandies: number): boolean[] { let result = [] let max = Math.max(...candies); for (let j = 0; j < candies.length; j++) { result.push((candies[j] + extraCandies) >= max) } return result }; ```