TypeScript difficulties Flashcards

1
Q

How do you access an object property nested in an array?

A

array[i].property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

for loops can access everything in an array

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you get the last element in an array?

A

array.length-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly