Coding challenge - Create a lottery lucky dip generator.
Lottery Lucky Dip generator - JavaScript.
Using the Math JavaScript object.
Using the Set JavaScript object to check duplicate numbers in an array.
JavaScript cardio.
If you have a different solution, please share it with me in the comment section.
Note! Math.random() does not provide cryptographically secure random numbers. Do not use them for anything related to security.
This exercise is just for practice purposes only.