Skip to content

Commit 90fc3fe

Browse files
committed
qns: fix typo
1 parent 06a249e commit 90fc3fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

questions/explain-hoisting/en-US.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following behavior summarizes the result of accessing the variables before t
2929

3030
## Hoisting
3131

32-
Hoisting is a term used to explain the behavior of variable declarations in JavaScript code.
32+
Hoisting is a term used to explain the behavior of variable declarations in JavaScript code.
3333

3434
Variables declared or initialized with the `var` keyword will have their declaration "moved" up to the top of their containing scope during compilation, which we refer to as hoisting.
3535

@@ -124,7 +124,7 @@ In ECMAScript specifications `let` and `const` declarations are [explained as be
124124

125125
> The variables are created when their containing Environment Record is instantiated but may not be accessed in any way until the variable's LexicalBinding is evaluated.
126126
127-
However, this statement is [a litle bit different for the `var` keyword](https://tc39.es/ecma262/#sec-variable-statement):
127+
However, this statement is [a little different for the `var` keyword](https://tc39.es/ecma262/#sec-variable-statement):
128128

129129
> Var variables are created when their containing Environment Record is instantiated and are initialized to `undefined` when created.
130130

0 commit comments

Comments
 (0)