Closed STRd6 closed 1 month ago
fetch(url) |> await |> .arrayBuffer() |> await |> new Blob [.], type: "application/javascript" |> URL.createObjectURL |> new Worker
This has an unintuitive parse where the value of the implicit object becomes piped instead of the entire line:
new Blob([(await (await fetch(url)).arrayBuffer())], {type: new Worker(URL.createObjectURL("application/javascript"))})
This has an unintuitive parse where the value of the implicit object becomes piped instead of the entire line: