Answers for "mit funktionen wörter printen javascript"

0

mit funktionen wörter printen javascript

function printOften(text, times){
  var result = ""
  for (var i = 0; i < times; i++) {
    result = result + text
  }
  return result
}
  var r = printOften ("hello ", 2000)
  console.log(r);
  var r = printOften ("FABIO ", 43)
  console.log(r);
  var r = printOften ("wie geht's ", 15)
  console.log(r);
  var r = printOften ("ciao ", 77)
Posted by: Guest on September-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language