Search
Array has a method called length. It is used to get the number of elements in an array.
length
In this example, let's print how many items I like: