Created
November 22, 2018 22:27
-
-
Save souhe/91470962dbc5e34a52bb3da06b1b10d6 to your computer and use it in GitHub Desktop.
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
let getAnswer = (review, message) => { | |
switch(review) { | |
case 'Bad': | |
return 'That is sad that you think: ' + message; | |
case 'Neutral': | |
return 'Okay'; | |
case 'Awesome': | |
return 'Yes yes yes!'; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment