From afe249f7d3f58db65042519b820e6a263e458ddd Mon Sep 17 00:00:00 2001 From: sotonyejoe Date: Sat, 11 Nov 2023 17:53:07 -0800 Subject: [PATCH 1/2] first assignment --- SotonyeJoe/First Assignment/lexicalScope.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 SotonyeJoe/First Assignment/lexicalScope.md diff --git a/SotonyeJoe/First Assignment/lexicalScope.md b/SotonyeJoe/First Assignment/lexicalScope.md new file mode 100644 index 0000000..f2afb92 --- /dev/null +++ b/SotonyeJoe/First Assignment/lexicalScope.md @@ -0,0 +1,16 @@ +# Mastering Backend Engineering Forst assignment + +## 100daysofengineering + +## Lexical Scope + +### What is lexical Scope + +Lexical scope is the ability for a function scope to have access to a varaiable from the parent scope. Lexical scope can also be defined as a fundamental concepts in programming that determines the accessibility of variables and funxtions within a program. + +A child funtion scope can access variables from the global scope by calling it within the function scope and also variables within the function scope can not be accessed, it will return error. + +### code example + + + From 82780bdd6e9e7b51c3a001d76873ee6ccbb189f3 Mon Sep 17 00:00:00 2001 From: sotonyejoe Date: Sat, 11 Nov 2023 18:00:17 -0800 Subject: [PATCH 2/2] added my name to the readme file contributor.md --- SotonyeJoe/contributor.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 SotonyeJoe/contributor.md diff --git a/SotonyeJoe/contributor.md b/SotonyeJoe/contributor.md new file mode 100644 index 0000000..f689af2 --- /dev/null +++ b/SotonyeJoe/contributor.md @@ -0,0 +1 @@ +Name: Sotonye Joe \ No newline at end of file