We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ace9dd commit 1f50af7Copy full SHA for 1f50af7
1 file changed
Sprint-3/4-stretch/password-validator.js
@@ -1,6 +1,5 @@
1
function passwordValidator(password) {
2
- return password.length < 5 ? false : true
+ return password.length >= 5;
3
}
4
5
-
6
-module.exports = passwordValidator;
+module.exports = passwordValidator;
0 commit comments