Create a heterogeneous array called myArray with at least three elements. The first element should be a number, the second should be a boolean (true or false), and the third should be a string. Feel free to add more elements of any type if you like!
I get syntax error
var myArray = [ 1, 2,23, 45]; var element = [ "boolean"(true or false)]; var string =[ "subash", "sunil",1,4];