for (i=0; i<6; i++){
var str="";
for (j=0; j<i ; j++){
str = str + "*";
}
console.log(str);
}
-
-
Save ra-kesh/7cd12fb32f0d2c2eaa7e7043ebd1f0d0 to your computer and use it in GitHub Desktop.
star pattern
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment