Loop n Times JS

n=10
for (let i = 0; i < n; i++) { 
  console.log("Hi!")
}
//Note that you can directly put the number after the < sign.
Thankful Toucan