Skip to content

Commit 3a1178c

Browse files
committed
Change response declaration from const to let in passwordChecker.js
1 parent 39b87c3 commit 3a1178c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎prep/passwordChecker.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const password="secretword123";
22
const userInput="thisiswrong";
33
const adminPassword="override";
4-
const response="";
4+
let response="";
55

66
if(userInput === password){
77
console.log("Correct password entered");

0 commit comments

Comments
 (0)