WebAssembly and factory method

Found it, and reproduced.