in vanilla javascript i know how to print stars in a pattern
var i,j for(i=1; i<=5; i++) { for(j=1; j<=i; j++) document.write("*") d