repeat a stringa FreeCodeCamp challenge
function repeatStringNumTimes(str, num) {
  // repeat after me
  if ( num < 0) {
    console.log('""');
    overlay('""');
    return '';
  } else {
    console.log(str.repeat(num));
    overlay(str.repeat(num));
    return str.repeat(num);
  }
}