News for hackers. Stuff that matters.
Re:HTML comments work in JavaScript too by int_19h on Tuesday March 08, 2022 @05:08PM (#30607858)
It's part of the language spec.
Re:HTML comments work in JavaScript too by bilalq on Wednesday March 09, 2022 @03:45AM (#30612262)
Right. My question was to ask what it would take to remove it. Backwards compatibility is a concern, but could strict mode or some other flag be used to mark it as disabled?