Homework Day 4 #6

Open
wants to merge 4 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@kdubeshter

kdubeshter commented Dec 14, 2018

This was hard, likely overcomplicating it (and need some sleep). 馃憤

}
}
}
console.log(sumDigits(123));

This comment has been minimized.

@reuben

reuben Jan 9, 2019

Contributor

you don't want a return inside of a for loop...
the easiest way to do this is convert it into a string first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment