node/test/fixtures/es-modules/wasm-function.js
Guy Bedford 870dec25f7 esm: support top-level Wasm without package type
PR-URL: https://github.com/nodejs/node/pull/57610
Reviewed-By: Jordan Harband <ljharb@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2025-04-03 19:38:40 -07:00

11 lines
287 B
JavaScript

export function call1 (func, thisObj, arg0) {
return func.call(thisObj, arg0);
}
export function call2 (func, thisObj, arg0, arg1) {
return func.call(thisObj, arg0, arg1);
}
export function call3 (func, thisObj, arg0, arg1, arg2) {
return func.call(thisObj, arg0, arg1, arg2);
}