Figma Interview Question

Basic array mutation question relevant to figma features