diff --git a/README.md b/README.md index a42cfa8c..c4ee166b 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ const sqlPromise = initSqlJs({ locateFile: file => `https://path/to/your/dist/folder/dist/${file}` }); const dataPromise = fetch("/path/to/database.sqlite").then(res => res.arrayBuffer()); -const [SQL, buf] = await Promise.all([sqlPromise, dataPromise]) +const [SQL, buf] = await Promise.all([sqlPromise, dataPromise]); // needed to be run in a async context const db = new SQL.Database(new Uint8Array(buf)); ``` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy