loading...

Discussion on: What’s your alternative solution? Challenge #3

Collapse
hume profile image
Horacio Rivero
const print = (i, b) => console.log(`${b.toString()} * ${i} ${b * i}`)
const end = (i) => i > 1; 
const printMultTable = (i, b) => end(i) && (printMultTable(--i, b), print(i, b)); 

printMultTable(11, 7)