diff --git a/main.js b/main.js index 7c5a15f..c00078a 100644 --- a/main.js +++ b/main.js @@ -1,2 +1,8 @@ +const Maths = Math; // Yes, I'm that patriotic. + +function pickRandom(array) { + return array[Maths.floor(Maths.random() * array.length)]; +} + window.addEventListener('load', (e) => { }); \ No newline at end of file