Y
Hacker News
new
|
ask
|
show
|
jobs
by
vekatimest
539 days ago
I had no idea named elements just become globals like that. Seems kind of ridiculous
2 comments
theoa
539 days ago
I discovered this perhaps ten or more years ago. I have used IDs a global in hundreds (thousand?) of efforts with no issues. Ever.
Of course, I am but a single stack developer, so your experience may vary
link
blacksmith_tb
539 days ago
id-s do, which is handy here, but sometimes exciting if you aren't expecting it.
link
Of course, I am but a single stack developer, so your experience may vary