mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 00:11:28 +00:00
Implement array functions with just an expression body
This commit is contained in:
@ -11,3 +11,6 @@ assert(f2(2) == 2);
|
||||
var f3 = function someName(): void {
|
||||
};
|
||||
f3();
|
||||
|
||||
var f4 = (): i32 => 1;
|
||||
assert(f4() == 1);
|
||||
|
Reference in New Issue
Block a user