learn-co-curriculum / js-data-structures-objects-readme

Other
2 stars 88 forks source link

return value incorrect in 'A BRIEF TEASER: ARRAYS AND OBJECTS' section #4

Closed gb23 closed 6 years ago

gb23 commented 7 years ago

The readme states: myArray[myArray.length - 1]; // => undefined However, I have found // => 7

maxwellbenton commented 6 years ago

Thank you for spotting this issue and providing feedback.

You are correct; the return value is 7. We have updated the materials and believe your issue to have been resolved.

We apologize for any frustration you might have encountered during this process but thank you for helping us ensure that those who follow in your path will not encounter the same problems that you faced.

If you do not believe that this issue has been addressed, please re-open this issue. 💙