Password Hint
Check the length of the string stored in the variable
Use the
password
. If it has fewer than 6 characters, change the value of msg
to 'Too short'
.Use the
.length
property and the <
(smaller than) operator to do this.Premium
JavaScript
Console