10 lines
165 B
JavaScript
10 lines
165 B
JavaScript
var x,y,chr;
|
|
for(x=1; x <=6; x++)
|
|
{
|
|
for (y=1; y < x; y++)
|
|
{
|
|
chr=chr+("*");
|
|
}
|
|
console.log(chr);
|
|
chr='';
|
|
}
|