Sign in
webkit
/
WebKit
/
4607ef70b24b852e8d4bdab2b8233fa12bf018e4
/
.
/
JSTests
/
wasm
/
modules
/
wasm-js-cycle
/
table.js
blob: acfcc280298d9d642a59a93bbc500f58886610c0 [
file
] [
log
] [
blame
]
import
{
t
}
from
"./entry-table.wasm"
export
const
tableFromJS
=
new
WebAssembly
.
Table
(
{
element
:
"externref"
,
initial
:
10
}
);
export
function
setTable
(
index
,
val
)
{
t
.
set
(
index
,
val
);
}