1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-06-17 00:41:32 +00:00
Files
assemblyscript/tests/compiler/function-expression.ts

12 lines
143 B
TypeScript
Raw Normal View History

var f1 = function(a: i32): i32 {
return a;
};
f1;
var f2 = (a: i32): i32 => {
return a;
};
f2;
var f3 = function someName(): void {
};
f3;