mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
6 lines
139 B
Plaintext
6 lines
139 B
Plaintext
// Adding the `mut` keyword makes a function variable mutable.
|
|
function main(mut a: bool) {
|
|
a = true;
|
|
|
|
console.assert(a == true);
|
|
} |