You are viewing a single comment's thread. Return to all comments →
Wow, egrodo1, Python for the win!
const birthdayCakeCandles = a =>
(f => a.filter(v => v === f).length)(Math.max(...a));