Hacker News new | ask | show | jobs
by gitgud 2204 days ago
It's just another tool to create better interactivity in a page.

Just like CSS is a tool to create prettier pages. And HTML is an tool to create layouts and links.

I do think JS should be treated like a permission though. Just like asking for camera access... but apparently the JS sandbox is completely isolated so that's not at all necessary...