leo/compiler/tests/tuples/access.leo

6 lines
116 B
Plaintext
Raw Normal View History

2020-08-11 05:40:49 +03:00
function main() {
const a = (true, false);
2020-08-11 05:40:49 +03:00
2020-08-17 03:20:47 +03:00
console.assert(a.0 == true);
console.assert(a.1 == false);
2020-08-11 05:40:49 +03:00
}