DEV Community

Discussion on: Daily Challenge #257 - Halving Sum

Collapse
 
qm3ster profile image
Mihail Malo
const half = n => n && half(n>>1) + n

:v