Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
JSTests
/
wasm
/
modules
/
wasm-imports-js-exports.js
blob: 709d0bcad89b5b5689e3b19dc29e390a9878a1d5 [
file
] [
log
] [
blame
]
import
{
addOne
}
from
"./wasm-imports-js-exports/imports.wasm"
import
*
as assert from
'../assert.js'
;
assert
.
isFunction
(
addOne
);
assert
.
eq
(
addOne
(
32
),
33
);
assert
.
eq
(
addOne
(-
2
),
-
1
);
assert
.
eq
(
addOne
(
0x7fffffff
),
-
2147483648
);