SOURCE

for (let i = 1; i <= 9; i++) {
    let s = '';
    for (let j = 1; j <= i; j++) {
        s += j + '*' + i + '=' + (i * j) + '\t';
    }
    console.log(s);
}
console 命令行工具 X clear

                    
>
console