function generateRandomCode(samples) {
const randomNum = Math.floor(Math.random() * samples.length);
return samples[randomNum];
}

Hint: no need to tab!

Good job! This is how you've done

You comepleted the challenge in undefineds and coded at approximately 0 words/min