Randomize the scalars of an array
Perl 6, 14 bytes

{pick *,0..$_}


Try it

Expanded:

{           # bare block lambda with implicit parameter ｢$_｣

  pick      # choose randomly without repeats
    *,      # Whatever (all)
    0 .. $_ # Range from 0, to the input (inclusive)
}