Precourse/Lesson3-JS-II/README.md incorrect statement
Opened this issue · 3 comments
Deleted user commented
.push adds an item to the end of the array, incrementing it's length by 1. (.push returns the entire array)
However, .push returns the length of the new array.
demol6798 commented
.push edits the original array. so after pushing on one line you return on the second.
Deleted user commented
I'm on it. You are correct sir.
Deleted user commented
Should address issue #540 could you close if pr satisfys you?