There was an error while loading. Please reload this page.
1 parent 2fccf82 commit 0e1bec1Copy full SHA for 0e1bec1
Interview/Interview.md
@@ -161,7 +161,7 @@ console.log(counter()); // prints 2
161
162
```
163
164
-**Unlike calltack, variable in Heap memory can be kept indefinitely then decide when you get rid of it later with the garbage collector**
+**Unlike callstack, variable in Heap memory can be kept indefinitely then decide when you get rid of it later with the garbage collector**
165
166
### why use closure if it requires more memory and procecssing power than a pure function?
167
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