•
1. constructor The constructor returns the function that created the Array object’s prototype. Example: <script> const countries = [“Pakistan”, “Canada”, “USA”, “China”]; var text = countries.constructor; // text variable will returns like: function Array() { [native code] } </script> 2. concat() The concat() method is used to join (concatenates) two […]