From 2456d1c83b7cc8f99d72106e0aa3f0873eba941b Mon Sep 17 00:00:00 2001 From: "Luke Charles (charle44)" Date: Wed, 25 Sep 2019 00:12:49 +0100 Subject: [PATCH] minor spelling amendment --- 05 JavaScript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05 JavaScript.md b/05 JavaScript.md index 83177f67..ec1833e6 100644 --- a/05 JavaScript.md +++ b/05 JavaScript.md @@ -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).