mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 07:22:21 +00:00
11 lines
144 B
TypeScript
11 lines
144 B
TypeScript
|
// array function
|
||
|
(x): i32 => x;
|
||
|
(x: i32) => x;
|
||
|
(x?) => x;
|
||
|
(x?, y?) => x;
|
||
|
(x?: i32) => x;
|
||
|
|
||
|
// not an array function
|
||
|
(b ? x : y);
|
||
|
(b ? f : g)();
|