Arrays Quiz


What is an array?

Show Answer

Which of the following are arrays?

[1, 2, 3, 4, 5]
'["a", "b", "c"]'
[]
"Array"
[0]

Show Answer

What is the value of the variable z?

x = [1, 2, 3]
y = "string"
z = [4, x, 6, y]

Show Answer