repl.it
@themaka/

Functions3

JavaScript

No description

fork
loading
main.js
1
2
3
4
5
6
7
8
9
10
function  printManyTimes (str) {
  const SENTENCE = str + " is amazing!";

  for (i = 0; i < str.length; i++); {
    console.log("i is",i)
    console.log(SENTENCE);
  }  
}

printManyTimes("Weather");
Native Browser JavaScript
?