// The following capture the disassembly as a string. We can't really check // that no other output is produced.
var s = wasmDis(mod, {tier:'best', asString:true});
assertEq(typeof s, "string")
assertEq(s.match(/Kind = Function/g).length, 3)
var ins = new WebAssembly.Instance(mod, {m:{hum:(x) => x+0.5}}); var s = wasmDis(ins, {tier:'best', asString:true});
assertEq(typeof s, "string")
assertEq(s.match(/Kind = Function/g).length, 3)
var s = wasmDis(ins.exports.f, {tier:'best', asString:true})
assertEq(typeof s, "string")
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.