It really speaks to the Hacker News culture to suggest that in 2020, browsers shouldn't be allowed to run code.
[0]: most of us are not saying browsers shouldn't be allowed to run code, only that there's no reason why anyones statical documents should need to run code on my machine.