Created
June 14, 2018 21:22
-
-
Save shortcircuit3/30b99046b855b9d9eabcfff3158d16f1 to your computer and use it in GitHub Desktop.
the most basic mvp for wod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const workouts = ['20 pushups', '50 squats, 20 jumping jacks', 'Run one mile'] | |
const randomNumber = Math.floor(Math.random() * workouts.length) | |
const randomWorkout = workouts[randomNumber]; | |
console.log(randomWorkout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment