8 ms·
Can someone help me understand why there is no HTTP fetch built into this? JavaScript is great but without HTTP fetch alot of potential uses are off the table.
by andrewstuart 2y ago
Can someone help me understand why there is no HTTP fetch built into this?
JavaScript is great but without HTTP fetch alot of potential uses are off the table.
- noduerme 2y agoI think because it runs inside a WebAssembly sandbox, but maybe someone with hands on experience can explain what's necessary to make calls outside that (if it's possible at all).
- foul 2y agofetch is a WHATWG standard, not ECMAScript. Qjs devs have made a language interpreter and not a scripting environment. You can use txiki [1] for that, it has fetch. [1] https://github.com/saghul/txiki.js https://github.com/saghul/txiki.js