Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

star looping javascript

const n = 5; 
for(let i=1; i<=n; i++){
       console.log("*".repeat(i));
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #star #looping #javascript
ADD COMMENT
Topic
Name
2+3 =