| 18:46 | <nicolo-ribaudo> | Uhm, does the spec (+ AnnexB) disallow --> as the first line in a script? It seems so (--> must be preceded by a line terminator), but all browsers accept eval("-->") |
| 18:46 | <nicolo-ribaudo> | (cc jmdyck) |
| 18:47 | <nicolo-ribaudo> | This is the definition of -->: https://tc39.es/ecma262/#prod-annexB-SingleLineHTMLCloseComment |
| 19:35 | <littledan> | Huh, I always thought the legacy HTML comments weren't supported in eval, but I don't see that represented in the spec |