// your code goes here const n=5 for(let i=0; i<Math.floor(Math.sqrt(n));i++){ console.log("*")}
Standard input is empty
* *
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!