function draw(inputNum) {
var pound="";
for(var i = 1; i <=inputNum; i++ ) {
for(j = 0; j<i;j++) {
pound+="#";
}
pound+="\n";
}
console.log(pound)
}
draw(5);
1
solved The drawStarsStairs challenge