Fix Block must not be padded by blank lines.

This commit is contained in:
Yosapol Jitrak
2020-10-16 16:38:34 +07:00
parent 301a8dd19a
commit 57e20c551c

View File

@ -18,7 +18,6 @@ const calcRange = (num) => {
}
const calcFactorial = (num) => {
if (num > 0) {
const range = calcRange(num)
const factorial = range.reduce((a, c) => a * c, 1)