mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 09:01:35 +03:00
7 lines
149 B
Plaintext
7 lines
149 B
Plaintext
function main() {
|
|
const a: [u8; (2, 2, 2)] = [1u8; (2, 2, 2)];
|
|
|
|
const b: [u8; (2, 2, 2)] = [[[1u8; 2]; 2]; 2];
|
|
|
|
console.assert(a == b);
|
|
} |