Heterogenous array


In arrays 14 lesson Heterogenous array my code is below what is wrong in it. Its showing SyntaxError: Unexpected token.

var number = 6;
var bool = true;
var string = “Earth”;
var object = {name: “Pavitha”, age: 24;};
var myArray = [‘number’, ‘bool’, ‘string’, ‘object’]

14/17 Help

There is your problem. The variable names are in quotes. Remove the quotes and store just the names.