Skip to content

Commit

Permalink
Typp/Grammar checks and corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav247sw authored and pranav247sw committed Apr 26, 2021
1 parent b2ca809 commit 0f3706c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ A closure is a function defined inside another function (called parent function)

The closure has access to the variables in three scopes:

- Variable declared in his own scope
- Variable declared in its own scope
- Variable declared in its parent function's scope
- Variable declared in the global namespace

Expand Down Expand Up @@ -333,7 +333,7 @@ console.log(output);
```
<details><summary><b>Answer</b></summary>

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


</details>
Expand Down

0 comments on commit 0f3706c

Please sign in to comment.