mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-04 03:11:08 +00:00
7 lines
173 B
JavaScript
7 lines
173 B
JavaScript
|
const wasm = require('wasm-bindgen-test.js');
|
||
|
const assert = require('assert');
|
||
|
|
||
|
exports.variadic_sum = () =>
|
||
|
Array.from(arguments).reduce((acc, val) => acc + val, 0);
|
||
|
|