Skip to content
Permalink
Browse files
minor spelling amendment
  • Loading branch information
charle44 committed Sep 24, 2019
1 parent 1c19206 commit 2456d1c83b7cc8f99d72106e0aa3f0873eba941b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -28,7 +28,7 @@ const biggest = largestNumber(5, 8)
1. The function is declared using the `function` keyword and the function is given a name which must be a valid variable name.
- If the name comprises more than one word these should be written using camel casing as shown above. This is known as a **Function Declaration**
2. The function above takes two parameters, `a` and `b`.
- These are variables with local scope (they can't ba accessed outside the function)
- These are variables with local scope (they can't be accessed outside the function)
- When the function is called, you need to pass two **values** which get assigned to the two parameters.
- If you pass too many values the extra ones get _ignored_.
- If you don't pass enough values the remainder are assigned a value of `null`. `Null` is an assignment value (means a value of no value).

0 comments on commit 2456d1c

Please sign in to comment.