02-2 : Persistent Bugger
Approach 1: Recursion + Helper Function
/*
Recursive helper function that returns the product result of multiplying the digits of a number together
>>> multiplyDigits(43)
12
*/
function multiplyDigits(num){
if (num <= 9){
return num
}
else...
rohanmorar.hashnode.dev1 min read