News for hackers. Stuff that matters.
Re:Named element IDs can be referenced as JavaScript globals by eithed on Tuesday September 27, 2022 @01:40PM (#32998533)
>To add insult to the injury, named elements are accessible as global variables only if the names contain nothing but letter.

This doesn't seem to be true as shown within this fiddle: https://jsfiddle.net/L785cpdo/1/

Bear in mind that only undefined elements will be declared this way

Re:Named element IDs can be referenced as JavaScript globals by mmazzarolo on Tuesday September 27, 2022 @02:23PM (#32999112)
Author here. That was a mistake on my part, it shouldn't have slipped in :) I removed that section, thanks for reporting!