Exactly! Again, there are multiple ways to find this out: Besides length
, we can also use count
and size
to tell us how many values there are in an array.
Psst: count
is an array method, which means that it won't work on strings.
Although that is a valid method, is it really what we're looking for?