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 + + + 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