Skip to content

Commit

Permalink
chore: punctuation nit
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeesto committed Oct 31, 2024
1 parent b6a5dd2 commit 82f4f67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const fs = require('node:fs');
// Use the readFileSync function to read the contents of the "add.wasm" file
const wasmBuffer = fs.readFileSync('/path/to/add.wasm');

// use the WebAssembly.instantiate method to instantiate the WebAssembly module
// Use the WebAssembly.instantiate method to instantiate the WebAssembly module
WebAssembly.instantiate(wasmBuffer).then(wasmModule => {
// Exported function lives under instance.exports object
const { add } = wasmModule.instance.exports;
Expand Down

0 comments on commit 82f4f67

Please sign in to comment.