From d9ec45d16a2181d3d74d486261474cd4297ca51a Mon Sep 17 00:00:00 2001 From: Abhisek Pattnaik Date: Mon, 28 Dec 2015 07:37:03 +0530 Subject: [PATCH] Global vs. Local Scope in Functions remove redundant "a" fix FreeCodeCamp/FreeCodeCamp#5494 --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index b0efe89a72..9f0a841dd8 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -2044,7 +2044,7 @@ "id": "56533eb9ac21ba0edf2244c0", "title": "Global vs. Local Scope in Functions", "description": [ - "It is possible to have both a local and global variables with the same name. When you do this, the local variable takes precedence over the global variable.", + "It is possible to have both local and global variables with the same name. When you do this, the local variable takes precedence over the global variable.", "In this example:", "
var someVar = \"Hat\";
function myFun() {
var someVar = \"Head\";
return someVar;
}
", "The function myFun will return \"Head\" because the local version of the variable is present.",