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: 1-js/06-advanced-functions/03-closure/article.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
@@ -371,7 +371,7 @@ As we've seen, in theory while a function is alive, all outer variables are also
371
371
372
372
But in practice, JavaScript engines try to optimize that. They analyze variable usage and if it's obvious from the code that an outer variable is not used -- it is removed.
373
373
374
-
**An important side effect in V8 (Chrome, Opera) is that such variable will become unavailable in debugging.**
374
+
**An important side effect in V8 (Chrome, Edge, Opera) is that such variable will become unavailable in debugging.**
375
375
376
376
Try running the example below in Chrome with the Developer Tools open.
377
377
@@ -413,6 +413,6 @@ let g = f();
413
413
g();
414
414
```
415
415
416
-
This feature of V8 is good to know. If you are debugging with Chrome/Opera, sooner or later you will meet it.
416
+
This feature of V8 is good to know. If you are debugging with Chrome/Edge/Opera, sooner or later you will meet it.
417
417
418
418
That is not a bug in the debugger, but rather a special feature of V8. Perhaps it will be changed sometime. You can always check for it by running the examples on this page.
0 commit comments