Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
binaryen
/
refs/heads/autotest
/
.
/
test
/
binaryen.js
/
custom-section.js
blob: b0965b4c03132d2dc47bd57cff8ae360a2da1c5b [
file
] [
log
] [
blame
] [
edit
]
var
module
=
new
binaryen
.
Module
();
module
.
addCustomSection
(
"hello"
,
[
119
,
111
,
114
,
108
,
100
]);
assert
(
module
.
validate
());
console
.
log
(
module
.
emitText
());