Zig concepts

Zig · Slices

Zig Slices puzzles

2 Zig puzzles on slices. Read the snippet, guess the output, then reveal the answer and why Zig behaves that way.