mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-02 23:07:27 +03:00
9 lines
169 B
Plaintext
9 lines
169 B
Plaintext
function do_nothing(arr: [u32; 2]) {}
|
|
|
|
function main() {
|
|
const arr: [u32; 2] = [0; 2];
|
|
|
|
do_nothing(arr);
|
|
do_nothing([...arr]);
|
|
do_nothing(arr[1u32..]);
|
|
} |