Hacker News new | ask | show | jobs
by knert 271 days ago
1000% agree. Javascript is weak in this regard if you compare it to major programming languages. It just adds unnecessary security risks not having a language with built in imports for common things like making API calls out or parsing JSON, for example.
1 comments

It does have functions for that, “fetch” and “JSON.parse,” available in most JS runtimes.