Closed indiagolph99 closed 4 years ago
Fixing variable declaration in first section of 'loops' part
var keepGoing = true; while (keepGoing) { let value = Math.random(); if (value > 0.5) { keepGoing = false; } }
where keepGoing is meant to be let
keepGoing
let
Fixing variable declaration in first section of 'loops' part
where
keepGoing
is meant to belet