mit funktionen w c3 b6rter printen javascript

Solutions on MaxInterview for mit funktionen w c3 b6rter printen javascript by the best coders in the world

showing results for - "mit funktionen w c3 b6rter printen javascript"
Carly
06 Apr 2018
1function printOften(text, times){
2  var result = ""
3  for (var i = 0; i < times; i++) {
4    result = result + text
5  }
6  return result
7}
8  var r = printOften ("hello ", 2000)
9  console.log(r);
10  var r = printOften ("FABIO ", 43)
11  console.log(r);
12  var r = printOften ("wie geht's ", 15)
13  console.log(r);
14  var r = printOften ("ciao ", 77)
15