mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 17:51:33 +00:00
Test are fully implemented
This commit is contained in:
@ -6,7 +6,7 @@ exports.get_value_to_bind_to = function() {
|
||||
return { x: 2 };
|
||||
};
|
||||
exports.list = function() {
|
||||
return Array.prototype.slice.call(arguments);
|
||||
return function() {return Array.prototype.slice.call(arguments);}
|
||||
};
|
||||
exports.add_arguments = function() {
|
||||
return function(arg1, arg2) {return arg1 + arg2}
|
||||
@ -16,4 +16,4 @@ exports.call_function = function(f) {
|
||||
};
|
||||
exports.call_function_arg = function(f, arg1) {
|
||||
return f(arg1);
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user