mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 10:32:13 +03:00
7 lines
169 B
Plaintext
7 lines
169 B
Plaintext
// `{from}..{to}` copies the elements of one array into another exclusively
|
|
function main(a: [u8; 3]) {
|
|
const b = [1u8; 4];
|
|
|
|
console.assert(a == b[0u8..3i8]);
|
|
}
|