in Technology by

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();
1. I, III
2. II, III
3. I, II
4. I, II & III

1 Answer

0 votes
by

Answer:-I, II & III

Related questions

+1 vote
    Which is the correct way to create an Empty array in JavaScript? I) var myProg = []; II) var myArray = ["C","Java","C++","Python ... = new Array(); I, III II, III I, II I, II & III...
asked Oct 9, 2020 in Technology by JackTerrance
0 votes
    (C) Which tool is used to navigate the stage? (i) Zoom Tool (ii) Hand Tool (iii) Select Tool (iv) Text Tool Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    (c) Which of the following specifies that the table has no border? (i) border = 2 (ii) border = 1 (iii ... none (iv) border= 0″ 00 Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    (c) In Timeline, a black dot appears on frame when you insert a: (i) Frame (ii) Keyframe (iii) Symbol (iv) Tool Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
    A die is thrown. Find the probability of (i) getting a 5 (ii) getting a 2 or a 3 (iii) getting an odd ... a number between 3 and 6 Select the correct answer from above options...
asked Nov 22, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
0 votes
0 votes
    Two dice are thrown simultaneously. Find the probability of getting (i) a doublet (ii) an even number as the sum ... on the other die Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
...