function checkSampleModule(m) { if (!(m instanceof WebAssembly.Module)) { throw"not a module";
} var i = new WebAssembly.Instance(m); if (!(i instanceof WebAssembly.Instance)) { throw"not an instance";
} if (i.exports[sampleExportName]() !== sampleResult) { throw"wrong result";
}
}
function checkSampleInstance(i) { if (!(i instanceof WebAssembly.Instance)) { throw"not an instance";
} if (i.exports[sampleExportName]() !== sampleResult) { throw"wrong result";
}
}
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.