You are viewing a single comment's thread. Return to all comments →
You don't need to add the '== 0', You could do something like
n % 2 ? n*3: n*2
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Arrow Functions
You are viewing a single comment's thread. Return to all comments →
You don't need to add the '== 0', You could do something like