Simple overview of use/purpose.
An in-depth paragraph about your project and overview of use.
// This is a simple rock, paper, scissors game. | |
// Figure out the secret cheat code to win everytime! | |
// Author: Jason Ritter | |
// Last updated: 05/30/2020 | |
// Start date: 05/30/2020 | |
// Get the users choice | |
const getUserChoice = userInput => { |
// Create input variable and necessary | |
// arrays | |
let input = 'hello, human'; | |
const vowels = ['a', 'e', 'i', 'o', 'u']; | |
let resultArray = []; | |
// Create for loop to sift through each letter | |
// of the input and compare them to vowels | |
// (whale letters) | |
for(i = 0; i < input.length; i++) { |