From cdf2d7eb521103a49751af9996a11d87a1d59efe Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 11 Oct 2021 19:38:28 +0530 Subject: [PATCH] Definition of Undefined is Missing Added In the Missing definition of the Undefined variable in Javascript on Line 61. --- Notes/3-Hoisting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notes/3-Hoisting.md b/Notes/3-Hoisting.md index c42b0b9..2ad02a3 100644 --- a/Notes/3-Hoisting.md +++ b/Notes/3-Hoisting.md @@ -58,7 +58,7 @@ Output: > Error: x is not defined // note that not defined here and "undefined" in sample 2 are totally different. - Not defined: We have not initialised the value for variable anywhere in the entire code and in memory space. -- Undefined: +- Undefined: It is a placeholder that is assigned to a variable by the Javascript Engine until the variable is assigned with some other value. __Hoisting__ is a concept which enables us to extract values of variables and functions even before initialising/assigning value without getting *error*