Skip to content

Commit 0f3706c

Browse files
pranav247swpranav247sw
authored andcommitted
Typp/Grammar checks and corrections
1 parent b2ca809 commit 0f3706c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ A closure is a function defined inside another function (called parent function)
103103

104104
The closure has access to the variables in three scopes:
105105

106-
- Variable declared in his own scope
106+
- Variable declared in its own scope
107107
- Variable declared in its parent function's scope
108108
- Variable declared in the global namespace
109109

@@ -333,7 +333,7 @@ console.log(output);
333333
```
334334
<details><summary><b>Answer</b></summary>
335335

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.
337337

338338

339339
</details>

0 commit comments

Comments
 (0)