1
Which is the correct way to create an Empty array in JavaScript?

Open 1 Answers 83 Views Technology

Which is the correct way to create an Empty array in JavaScript? I) var myProg = []; II) var myArray = ["C","Java","C++","Python"];

III) var myProg = new Array();
I, III
II, III
I, II
I, II & III

 

1 Answer

0

Answer:-I, II & III

by (277k points)
...