diff options
-rw-r--r-- | docs/demo/wat2wasm/demo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/demo/wat2wasm/demo.js b/docs/demo/wat2wasm/demo.js index 1fcd42cb..66f44736 100644 --- a/docs/demo/wat2wasm/demo.js +++ b/docs/demo/wat2wasm/demo.js @@ -119,7 +119,7 @@ function compile() { binaryBuffer = binaryOutput.buffer; // binaryBuffer is a Uint8Array, so we need to convert it to a string to use btoa // https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string - outputBase64 = btoa((String.fromCharCode.apply(null, binaryBuffer)); + outputBase64 = btoa(String.fromCharCode.apply(null, binaryBuffer)); var blob = new Blob([binaryOutput.buffer]); if (binaryBlobUrl) { |