script.js
// // Write password to the #password input
Write password to the #password input
Write password to the #password input
function writePassword(randomValuesArray) {
  var password = document.getElementById('password');
  var finalPassword = randomValuesArray.join('');
  password.textContent = finalPassword;
  anotherPassword(randomValuesArray);
}
function writePassword ( randomValuesArray ) { var password = document . getElementById ( 'password' ) ; var finalPassword = randomValuesArray . join ( '' ) ; password . textContent = finalPassword ; anotherPassword ( randomValuesArray ) ; }
Write password to the #password input
Write password to the #password input