Here is the code:
var array = new Array("Rose", "India", "Technologies");
document.write("<b>The function of this object's instance is: </b>" + array.constructor+"<br>");
<b>[The array.constructor property returns the function that created the object's instance.]</b>
Output will be displayed as:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.