Well done!
You have completed Objects and Conditionals Review!
Quiz Question 1 of 5
Which of the following is the correct way to create an array of objects?
Choose the correct answer below:
-
A
[ { name: 'Ashley', topic: 'JavaScript' } { name: 'Ben', topic: 'Android' } { name: 'Alena', topic: 'PHP' } ]
-
B
[ { name: 'Ashley', topic: 'JavaScript' { name: 'Ben', topic: 'Android' { name: 'Alena', topic: 'PHP' } ]
-
C
[ { name: 'Ashley', topic: 'JavaScript' }, { name: 'Ben', topic: 'Android' }, { name: 'Alena', topic: 'PHP' } ]