/* should not generate diagnostics */
Array(500);

Array(someOtherArray.length);

new Array(500);

new Array(someOtherArray.length);

[0, 1, 2];

const createArray = (Array) => new Array();

Array.foo();
