Node 24 会为这个最小核心 Wasm 模块输出什么?

来自 WebAssembly 容器
Node 24 入门 2分钟

Node 24 会为这个最小核心 Wasm 模块输出什么?

JavaScript
const bytes = Uint8Array.from([
  0x00, 0x61, 0x73, 0x6d,
  0x01, 0x00, 0x00, 0x00,
]);
const module = new WebAssembly.Module(bytes);

console.log(WebAssembly.validate(bytes));
console.log(WebAssembly.Module.imports(module).length);
在试验场中打开
报告错误