-
Declare a variable named
animals
that stores an array containing the following strings:"zebra", "giraffe", "elephant"
. -
Using the array
animals
, how would you access"giraffe"
? -
How would you add
"lion"
to theanimals
array? -
Name and describe two additional array methods.
-
What are the boolean values in JavaScript?
-
In JavaScript, how would you evaluate if
2
is equal to25
? What is the result of this evaluation? -
In JavaScript, how would you evaluate if
25
is greater than2
? What is the result of this evaluation?