Skip to content

Commit

Permalink
Update specification/window.browser.bs
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Wu <[email protected]>
  • Loading branch information
patrickkettner and Rob--W authored Nov 7, 2024
1 parent 625374c commit 49baa88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/window.browser.bs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/
<div class="example" id="example-1">
Here's an example of the expected alias behavior
<pre><code class="lang-js">
// As `chrome` and `browser` are not direct aliases,
// modifying one top level values will not change the other
// When `chrome` and `browser` are not direct aliases,
// modifying one top level values will not change the other:

globalThis.browser.FAKE = true
console.log(globalThis.chrome.FAKE);
Expand Down

0 comments on commit 49baa88

Please sign in to comment.