1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-04-30 01:12:16 +00:00

9 lines
149 B
TypeScript
Raw Normal View History

const constantGlobal = 1;
export function test(): i32 {
const constantLocal = 2;
return constantGlobal + constantLocal;
}
assert(test() == 3);