Skip to content

Commit

Permalink
fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
verawitting committed Sep 12, 2023
1 parent 7277ce5 commit 028e2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ const guess = (personToConfirm) => {
const userGuess = confirm(`Are you sure it's ...${personToConfirm}?`);
if (userGuess){
const elapsedTime = stopTimer(); // Stop timer
checkMyGuess(personToConfirm, elapsedTime, userName); //If user guess, checkMyGuess is invoked
checkMyGuess(personToConfirm, elapsedTime); //If user guess, checkMyGuess is invoked
}
console.log(personToConfirm);
}
Expand Down

0 comments on commit 028e2f5

Please sign in to comment.