mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 16:11:35 +03:00
10 lines
170 B
Plaintext
10 lines
170 B
Plaintext
function foo() -> (bool, bool) {
|
|
return (true, false)
|
|
}
|
|
|
|
function main() {
|
|
const (a, b) = foo();
|
|
|
|
console.assert(a == true);
|
|
console.assert(b == false);
|
|
} |