mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 17:11:42 +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);
|
|
} |