Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
"firstItem" is a variable that stores the value at the first position (index 0) of an array. It serves as temporary storage before shifting all other elements in the array by one position.