1To remember the difference, you can think of "is a / has a"
2
3let fruits = [
4 orange,
5 mango,
6 banana
7];
8// Every item in the array "fruits" is a fruit.
9
10let fruit = {
11 seed:{},
12 endocarp:{},
13 flesh:{}
14};
15// The object fruit has every attribute inside the object.