Which is the correct way to create an array in JavaScript? I) var myProg = []; II) var myArray = [“”C””,””Java””,””C++””,””Python””]; III) var myProg = new Array();”
Questions & Answers › Category: Programming Language › Which is the correct way to create an array in JavaScript? I) var myProg = []; II) var myArray = [“”C””,””Java””,””C++””,””Python””]; III) var myProg = new Array();”
Which is the correct way to create an array in JavaScript? I) var myProg = []; II) var myArray = [“”C””,””Java””,””C++””,””Python””]; III) var myProg = new Array();”