9 ms·
basically node exposes all these other APIs like reading a file from disk. Browser also has APIs like detecting when the page is fully loaded that wouldn't be a
by asmos7 5y ago
basically node exposes all these other APIs like reading a file from disk. Browser also has APIs like detecting when the page is fully loaded that wouldn't be available on Node. What JavaScript syntax is supported can also vary between Node and browsers.
- des1nderlase 5y agoWASM cannot magically load from disk, there is browser protection, right?
- Ajedi32 5y agoIt can't access the file system, but it could implement an API that emulates a file system inside the browser sandbox. Presumably that's what they're doing here.