From 94880385f319e335f595daf40750431d335a4895 Mon Sep 17 00:00:00 2001 From: "reda.hossino" Date: Mon, 20 May 2024 20:26:49 +0200 Subject: [PATCH] add variables not used --- 05 - Random Password Generator/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/05 - Random Password Generator/main.js b/05 - Random Password Generator/main.js index dfc4010c..217a47e2 100644 --- a/05 - Random Password Generator/main.js +++ b/05 - Random Password Generator/main.js @@ -40,7 +40,10 @@ const words = ['seat', 'pen', 'broad', 'vapor', 'ocean', function randomNumber (l) { - return Math.floor(Math.random() * l); + let y = Math.floor(Math.random() * l); + + let z = Math.floor(Math.random() * y); + return y; } function randomWord () {