Hello all, I created this ‘handy’ workout generator to save time thinking of routines and procrastinating.
Here is the GitHub link:
Made using simple arrays for the options, a random index generator function based on the inputted array, and a ‘chooseOption’ function that takes the array as an argument and outputs a random choice.
All done with 1-line arrow functions, then a simple outputted message to join it all together.
Enjoyable task as always, and I kept it very simple, without any loops.