DEV Community

Discussion on: Daily Challenge #193 - What's the Real Floor?

Collapse
 
stevenbey profile image
Steven Bey

return floor - (floor < 1 ? 0 : floor < 13 ? 1 : 2);