Skip to content

Commit 0e1bec1

Browse files
Update Interview.md
1 parent 2fccf82 commit 0e1bec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Interview/Interview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ console.log(counter()); // prints 2
161161

162162
```
163163

164-
**Unlike calltack, variable in Heap memory can be kept indefinitely then decide when you get rid of it later with the garbage collector**
164+
**Unlike callstack, variable in Heap memory can be kept indefinitely then decide when you get rid of it later with the garbage collector**
165165

166166
### why use closure if it requires more memory and procecssing power than a pure function?
167167
1. Data Encapsulation is one of the most important reason because clouse helps to prevent leaking or exposing data where it's not needed.

0 commit comments

Comments
 (0)