Continuing the discussion from freeCodeCamp Challenge Guide: Generate Random Fractions with JavaScript:
function randomFraction() {
// Only change code below this line
let i;
if(i === 0){
i = Math.random();
}
return Math.random();
// Only change code above this line
}