I'm trying to execute PouchDB 9.0.0 with some stubs.
I have a parsing error that I don't have with QuickJS "vanilla":
SyntaxError: expecting ';'
at ../pouchdb-9.0.0.js:10537:75
Here is the line (maybe you will need more lines to understand, you can look at the library file:
await upsert(sourceDB, '_local/' + localDocName, diffFunction);
Reproduction depot : https://github.com/arabine/quickjs-browser-env
mkdir build
cd build
cmake ..
make