3 ms·
Let me document all the reasons I dislike the HTML spec: it defines a willful violation of the ECMAScript standard.
by idbehold 10y ago
Let me document all the reasons I dislike the HTML spec: it defines a willful violation of the ECMAScript standard.
- xeniak 10y agoCan you elaborate?
- idbehold 10y agoWell, it's kind of a hint for solving some of the more "that's impossible" problems on here. I don't want to give the whole thing away.
- fennecfoxen 10y agoI'll use a link shortener to prevent spoilers. This link elaborates exactly which rules are abused: https://goo.gl/mu5xtr https://goo.gl/mu5xtr "These requirements are a willful violation of the JavaScript specification current at the time of writing. The JavaScript specification requires that ToBoolean return true for all objects, and does not have provisions for objects acting as if they were undefined for the purposes of certain operators. This violation is motivated by a desire for compatibility..." with old Internet Explorer.