Course of Raku / Advanced / Containers / Ordered containers / Flattening and itemisation

Quiz — Nesting arrays

What does the following program print?

my @a = 1, 2, 3;
my @b = 4, 5;
my @c = @a, @b;

say @c.elems;
05
12
03
00

Course navigation

Flattening and itemisation   |   Alias an array