mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-28 01:01:53 +03:00
6 lines
149 B
Plaintext
6 lines
149 B
Plaintext
// A spread operator `...` copies the elements of one array into another
|
|
function main() -> u32[3] {
|
|
let a = [1u32, 1u32];
|
|
|
|
return [1u32, ...a]
|
|
} |