DEV Community

Discussion on: Daily Challenge #264 - Digital Root

Collapse
 
willsmart profile image
willsmart • Edited

Here's my take on the modulus one, keeping with the nsfw JS syntax theme

muckle = n => n  && (n%9 || 9)