Skip to content

Commit 1b3d99b

Browse files
committed
Add password validation logic in passwordChecker.js
1 parent 3f06814 commit 1b3d99b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎prep/passwordChecker.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const password="secretword123";
2+
const userInput="secretword123";
3+
4+
if(userInput === password){
5+
console.log("Correct password entered");
6+
}

0 commit comments

Comments
 (0)