Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwajeet594 authored Sep 25, 2024
1 parent b4708b2 commit b3fabb4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Password_Generator/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ const allchars = uppercase + lowercase + number + symbol;

function create() {
let password = "";
// password += uppercase[Math.floor(Math.random() * uppercase.length)];
// password += lowercase[Math.floor(Math.random() * lowercase.length)];
// password += number[Math.floor(Math.random() * number.length)];
// password += symbol[Math.floor(Math.random() * symbol.length)];


while (password.length < length) {
password += allchars[Math.floor(Math.random() * allchars.length)];
Expand Down

0 comments on commit b3fabb4

Please sign in to comment.