You are viewing a single comment's thread. Return to all comments →
function main() { const n = parseInt(readLine().trim(), 10); for ( let i = 1 ; i <= 10 ; i++) { let result = n * i console.log({i} = ${result}) } }
{i} = ${result}
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Loops
You are viewing a single comment's thread. Return to all comments →
function main() { const n = parseInt(readLine().trim(), 10); for ( let i = 1 ; i <= 10 ; i++) { let result = n * i console.log(
{i} = ${result}
) } }