bloominstituteoftechnology/Precourse

Precourse/Lesson3-JS-II/README.md incorrect statement

Opened this issue · 3 comments

.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.

.push edits the original array. so after pushing on one line you return on the second.

I'm on it. You are correct sir.

Should address issue #540 could you close if pr satisfys you?