Skip to content

Commit 165ea83

Browse files
authored
Merge pull request #2125 from shanesc/patch-1
Add Edge to list of V8-powered browsers
2 parents 26505f3 + a4b95f0 commit 165ea83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/06-advanced-functions/03-closure/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ As we've seen, in theory while a function is alive, all outer variables are also
371371

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

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

376376
Try running the example below in Chrome with the Developer Tools open.
377377

@@ -413,6 +413,6 @@ let g = f();
413413
g();
414414
```
415415

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

418418
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

Comments
 (0)