Password Generator/script.js
/*adjusted code because lop above  stopped at "hasUpper"*/
adjusted code because lop above  stopped at "hasUpper"
adjusted code because lop above stopped at " hasUpper "
function randomFunc(input) {
  let randomChar;
  if (input === "hasUpper") {
      randomChar = getRandomUpper();
  }
  if (input === "hasLower") {
      randomChar = getRandomLower();
  }
  if (input === "hasNumbers") {
      randomChar = getRandomNumber();
  }
  if (input === "hasSymbols") {
      randomChar = getRandomSymbol();
  }
  return randomChar;
}
function randomFunc ( input ) { let randomChar ; if ( input === "hasUpper" ) { randomChar = getRandomUpper ( ) ; } if ( input === "hasLower" ) { randomChar = getRandomLower ( ) ; } if ( input === "hasNumbers" ) { randomChar = getRandomNumber ( ) ; } if ( input === "hasSymbols" ) { randomChar = getRandomSymbol ( ) ; } return randomChar ; }
adjusted code because lop above  stopped at "hasUpper"
adjusted code because lop above stopped at " hasUpper "