Data Structures Magic Quiz

Test your knowledge of Data Structures by answering this quiz!
Question about JavaScript Basics I

Given the following array:

var arr = [1, 2, 3, 4, 5, 6, 7]

Which of the following is not a valid way to get the last element of the array?


Not sure about the answer? Want to learn more?
Check out this learning:
JavaScript Basics ILast updated today