Skip to content

Instantly share code, notes, and snippets.

View adamvz's full-sized avatar

Adam VanZuiden adamvz

View GitHub Profile
@adamvz
adamvz / FreeCodeCamp - Word_Blanks.js
Created March 10, 2017 00:57 — forked from revisualize/FreeCodeCamp - Word_Blanks.md
The FreeCodeCamp challenge Word Blanks with instructions and extra information. https://www.freecodecamp.com/challenges/word-blanks
/* 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)`