### Basic info: <img width="971" alt="image" src="https://github.com/jsdom/jsdom/assets/6134547/aea4932f-9210-48c6-bb83-91fa74ce61fc"> ### Minimal reproduction case <!-- Please create a minimal repro. Any reports involving third party libraries will be closed, as we cannot debug third-party library interactions for you. Please do not use syntax that is not supported in Node.js, such as JSX. If we cannot run the code in Node.js, we will close the issue, as we cannot debug whatever toolchain you are using. TO BE CLEAR: your example needs to be self-contained enough that we can copy-paste it into a file named `test.js`, and then run it using `node test.js`. *No* Jest or similar. IF YOU DO NOT FOLLOW THESE INSTRUCTIONS WE WILL CLOSE THE ISSUE. --> ```js // not needed ``` ### How does similar code behave in browsers? (Link to a jsbin or similar strongly suggested.)
Basic info:
Minimal reproduction case
// not neededHow does similar code behave in browsers?
(Link to a jsbin or similar strongly suggested.)