Web-Dev-For-Beginners/js-basics/4-arrays-loops/.github/pre-lecture-quiz.md

14 lines
327 B

*Complete this quiz in class*
1. To refer to specific item in an array, you would use a
- [ ] square bracket `[]`
- [ ] index
- [ ] curly braces `{}`
2. How do you get the number of items in an array
- [ ] The `len(array)` method
- [ ] The property `size` on the array
- [ ] The `length` property on the array