2 points · by nreece · 9y ago · 1 comment
The standard also says that it should happen for the name attribute on a frameset element, but that didn't work when I tried. https://html.spec.whatwg.org/#named-access-on-the-window-obj...
DOM elements with ID's are global variables
The browser defines a global variable for each ID in your HTML document.
DEV Community