loader.instantiate(bytes, {
  index: {
    logValue: (n) => console.log(
      "from wasm:", n),
  },
}).then(({ exports }) => {
  exports.computeAndLog(2, 3);
});
