mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 10:32:13 +03:00
9 lines
167 B
Plaintext
9 lines
167 B
Plaintext
|
function do_nothing(arr: [u32; 2]) {}
|
||
|
|
||
|
function main() {
|
||
|
let arr: [u32; 2] = [0; 2];
|
||
|
|
||
|
do_nothing(arr);
|
||
|
do_nothing([...arr]);
|
||
|
do_nothing(arr[1u32..]);
|
||
|
}
|