Question: Which of the following does not correctly create an array? let myarray = new Array ( ) ; let myarray = [ 3 , 4

Which of the following does not correctly create an array?
let myarray = new Array();
let myarray =[3,4, "Cool", 7];
let myarray = new Array[10];
let myarray = new Array("hello","hi","greetings");

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!