jvilk / BrowserFS

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
Other
3.06k stars 216 forks source link

fix globals: global, process #298

Closed pkit closed 1 year ago

pkit commented 3 years ago

both globals may not be available in embedded environments

there is no need to call process at all if it's not there there is a standardized global object now: globalThis, it should be used as the last resort