This file contains hidden or 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
| [ | |
| { | |
| "quote":"When I die, I want to go peacefully like my grandfather did–in his sleep. Not yelling and screaming like the passengers in his car.", | |
| "name": "Bob Monkhouse" | |
| }, | |
| { | |
| "quote":"Always borrow money from a pessimist. He won’t expect it back.", | |
| "name": "Oscar Wilde" | |
| }, | |
| { |
This file contains hidden or 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
| /* Word Blanks | |
| You will need to use string operators to build a new string, `result`, | |
| using the parameters: `myNoun`, `myAdjective`, `myVerb`, and `myAdverb`. | |
| Parameters are variables that represent the values that get passed into your function from the function call. | |
| https://cs.wellesley.edu/~cs110/lectures/L16/images/function-anatomy.png | |
| Notice how the variables `level` and `score` in the function definition `addScore` are called parameters. | |
| However, when we invoke the function like in: | |
| `addScore(3, 10)` or `addScore(6, 20)` |