aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-prologue.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-27 03:57:48 +0000
committerstephan <stephan@noemail.net>2022-10-27 03:57:48 +0000
commit4f975c33798bb2eff7ebe8b1ec8a68e6644b58cf (patch)
treea060da6c63f82735d0b1df3c7b3f6cb665829f59 /ext/wasm/api/sqlite3-api-prologue.js
parent3d420836fd4254f88cf69e51412fe69d0dd80441 (diff)
downloadsqlite-4f975c33798bb2eff7ebe8b1ec8a68e6644b58cf.tar.gz
sqlite-4f975c33798bb2eff7ebe8b1ec8a68e6644b58cf.zip
Minor doc typo fixes.
FossilOrigin-Name: ed8d3f25a4d6ac04d9f7918c791d8d2c6f23ce846278ca63f8fbadb7ea27369f
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r--ext/wasm/api/sqlite3-api-prologue.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js
index 71058d174..96b2fa019 100644
--- a/ext/wasm/api/sqlite3-api-prologue.js
+++ b/ext/wasm/api/sqlite3-api-prologue.js
@@ -233,8 +233,8 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
This distinction is important for APIs which don't like to
work on SABs, e.g. TextDecoder, and possibly for our
own APIs which work on memory ranges which "might" be
- modified by other threads while it's working.
- */
+ modified by other threads while they're working.
+ */
const typedArrayPart = (aTypedArray, begin, end)=>{
return isSharedTypedArray(aTypedArray)
? aTypedArray.slice(begin, end)
@@ -276,7 +276,7 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
Uses TextDecoder to decode the given half-open range of the
given TypedArray to a string. This differs from a simple
call to TextDecoder in that it accounts for whether the
- first argument is based by a SharedArrayBuffer or not,
+ first argument is backed by a SharedArrayBuffer or not,
and can work more efficiently if it's not (TextDecoder
refuses to act upon an SAB).
*/