You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ A closure is a function defined inside another function (called parent function)
103
103
104
104
The closure has access to the variables in three scopes:
105
105
106
-
- Variable declared in his own scope
106
+
- Variable declared in its own scope
107
107
- Variable declared in its parent function's scope
108
108
- Variable declared in the global namespace
109
109
@@ -333,7 +333,7 @@ console.log(output);
333
333
```
334
334
<details><summary><b>Answer</b></summary>
335
335
336
-
The code above will output `0` as output. `delete` operator is used to delete a property from an object. Here `x` is not an object it's **local variable**. `delete` operator doesn't affect local variables.
336
+
The code above will output `0` as output. `delete` operator is used to delete a property from an object. Here `x` is not an object, it's a**local variable**. `delete` operator doesn't affect local variables.
0 commit comments