Open DigitalPhoneme opened 1 month ago
https://github.com/sambow7/js-objects-lab/blob/b471cab5b836b61118381c07f8afa1ad44fd27c2/app.js#L36
While this is correct, it may just be clearer to set it like this game.difficulty = "Med"; rather than using an array. I can, however, see how your implementation may make sense if your game had plans to implement a random level feature.
game.difficulty = "Med";
I miss read the question and thought it was wanting us to add all three not "or". I made the adjustment thank you
https://github.com/sambow7/js-objects-lab/blob/b471cab5b836b61118381c07f8afa1ad44fd27c2/app.js#L36
While this is correct, it may just be clearer to set it like this
game.difficulty = "Med";
rather than using an array. I can, however, see how your implementation may make sense if your game had plans to implement a random level feature.