let s="\n";
for( let i=1;i<10;i++){
for(let j=1;j<=i;j++){
s+=j+"*"+i+"="+(j*i)+" ";//当时理解的清楚
}
s+="\n";
}
console.log(s);
let s="\n";
for( let i=1;i<10;i++){
for(let j=1;j<=i;j++){
s+=j+"*"+i+"="+(j*i)+" ";//当时理解的清楚
}
s+="\n";
}
console.log(s);