Samuel6 Feb 2024just learned some Cursed Knowledge: HTML comment syntax is valid JavaScript iter.ca/post/js-html...HTML comments work in JavaScript tooSome weird legacy behavior in JavaScriptiter.ca 2 1 12
Samuel@samuel.fm--> and our brave boys at TC39 just made this valid in the spec too, to match browser behaviour window.location.href = "https://twitter.com/robpalmer2/status/1754982552564314351";Tweet by @robpalmer2twitter.com 3