You are viewing a single comment's thread. Return to all comments →
why is this failing one test case?
function birthdayCakeCandles(ar) { ar = ar.sort()
let retObj = ar.length - ar.indexOf(Math.max(...ar)) return retObj
}
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
why is this failing one test case?
}