4 ms·
Wouldn't that still require `response.arrayBuffer()`? For ex (line 2): fetch('../out/main.wasm').then(response => WebAssembly.instantiateStreaming
by dmix 9y ago
Wouldn't that still require `response.arrayBuffer()`? For ex
(line 2):
fetch('../out/main.wasm').then(response =>
WebAssembly.instantiateStreaming(response.arrayBuffer()))
Otherwise it could just be:
fetch('../out/main.wasm').then(WebAssembly.instantiateStreaming)
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]