JavaScript Array() constructor is used to create Array objects. The constructor property returns the function that created the Array prototype.
array.constructor
Use JavaScript Array constructor property
Simple example code constructor property.
<!DOCTYPE html>
<html>
<body>
<script>
let languages = ["JavaScript", "Java", "Python"];
let res = languages.constructor;
console.log(res)
</script>
</body>
</html>
Output:

Array constructor with a single parameter
let fruits = new Array(2);
console.log(fruits.length); // 2
console.log(fruits[0]); // undefined
Array constructor with multiple parameters
let fruits = new Array('Apple', 'Banana');
console.log(fruits.length); // 2
console.log(fruits[0]); // "Apple"
Do comment if you have any doubts or suggestions on this JS Array topic.
Note: The All JS Examples codes are tested on the Firefox browser and the Chrome browser.
OS: Windows 10
Code: HTML 5 Version

Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology & like learning technical.