.@wtfjs .@ddtrejo Thanks for publishing my wtfjs about global IDs!
http://wtfjs.com/2013/10/02/implicit-getElementById …
But...
@MaximeEuziere “This is non-standard” is incorrect. See https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object … +@wtfjs @ddtrejo
-
-
-
@MaximeEuziere “An implicit `id` can't have the same name as a protected JS keyword” – yes it can. `id=function` → `window.function` - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.