diff --git a/README.md b/README.md index e4c5821..fd6d14d 100644 --- a/README.md +++ b/README.md @@ -301,8 +301,8 @@ your study time and to measure your progress: remove items in an array: - [ ] **arr.push()**: Adds a new item to the end of an array. - [ ] **arr.pop()**: Removes the last item in an array. - - [ ] **arr.shift()**: Adds a new item to the front of an array. - - [ ] **arr.unshift()**: Removes the first item in an array. + - [ ] **arr.shift()**: Removes the first item in an array. + - [ ] **arr.unshift()**: Adds a new item to the front of an array. - 🥚 **Reading Items**: You can read items in an array using: - [ ] **arr[i]**: Access a specific item in an array using square brackets a positive index.