Added the standard javascript style

This commit is contained in:
Vishnu
2020-10-01 16:52:37 +05:30
parent 446f88b189
commit 6cd03db6e2

View File

@ -8,7 +8,7 @@ function octalToDecimal (num) {
base = base * 8
}
return dec
}
}
// test cases
console.log(octalToDecimal(56) === 46)