aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/common/SqliteTestUtil.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-28 11:40:46 +0000
committerstephan <stephan@noemail.net>2022-10-28 11:40:46 +0000
commitf03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8 (patch)
tree7c9ea2e5ec129a59e5a9bb6579ca6028e1ffd751 /ext/wasm/common/SqliteTestUtil.js
parente681b651eb5cc1da2724ce73b84792b10039152b (diff)
downloadsqlite-f03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8.tar.gz
sqlite-f03ddcca3282b7d8fd2cd6e2f8caa142e5cc5be8.zip
Add ext/wasm/module-symbols.html. Adjacent minor JS touchups.
FossilOrigin-Name: 24f12e681e06e3b71a6ac9c82255fe0270953a74c711405841f7e385eeafe874
Diffstat (limited to 'ext/wasm/common/SqliteTestUtil.js')
-rw-r--r--ext/wasm/common/SqliteTestUtil.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/wasm/common/SqliteTestUtil.js b/ext/wasm/common/SqliteTestUtil.js
index 08688fd48..5ed423785 100644
--- a/ext/wasm/common/SqliteTestUtil.js
+++ b/ext/wasm/common/SqliteTestUtil.js
@@ -172,13 +172,9 @@
],
//onRuntimeInitialized: function(){},
/* Proxy for C-side stdout output. */
- print: function(){
- console.log.apply(console, Array.prototype.slice.call(arguments));
- },
+ print: (...args)=>{console.log(...args)},
/* Proxy for C-side stderr output. */
- printErr: function(){
- console.error.apply(console, Array.prototype.slice.call(arguments));
- },
+ printErr: (...args)=>{console.error(...args)},
/**
Called by the Emscripten module init bits to report loading
progress. It gets passed an empty argument when loading is done