Skip to content

Parse error (not existing with vanilla QuickJs) #572

@arabine

Description

@arabine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions