Who knows why `a=undefined` in #Firefox but `a=1` elsewhere?
<body onload="a=1;document.write('<button onclick=alert(a)>'+a+'</button')">
-
-
-
Replying to @slobodan_
@slobodan_ What is is? I'm curious! Strange thing is: When the same code is in <script> tags, it works.1 reply 0 retweets 0 likes -
Replying to @slobodan_
@aemkei it was working for me just the first time, but if I try again it's not working anymore. Not sure if that a bug or a feature :D1 reply 1 retweet 0 likes -
Replying to @slobodan_
@slobodan_@orisomething Super strange! Maybe@mathias knows some details?2 replies 0 retweets 0 likes
Replying to @aemkei
@aemkei @slobodan_ @oriSomething Interesting find. I’m not sure what the specified behavior is — maybe ask #whatwg?
8:27 AM - 28 Jul 2015
0 replies
0 retweets
0 likes
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.