The new keyword

Report a typo

Select the correct way of creating an array with the new keyword.

A)

let names = new [5];

B)

let names = new Array(2);

C)

let names = new Array[7];

D)

let names = Array(3);
Select one option from the list
___

Create a free account to access the full topic