For this Question: Complete the function <code>convertTheArray</code> which accepts two parameters which are an <code>array</code> and a <code>word</code>.
 It returns a new array where all the array elements are converted to lowercase and then the second parameter which is a string word is concatenated to each element of the array.

Note for passing input in Sample Output generator<ol>
<li>Type the word
<li>Hit Enter
<li>Type words separated by space
</ol>The function will take two arguments

1) 1st argument will be a string  
2) 2nd argument will be strings separated by space containing a combination of upper case and lower case letters in itThe function will return an array of strings <pre>
<code>
const word="KHAN"
const arr=[ 'SaifAli', 'ShahRukh', 'Salman' ]
const answer=convertTheArray(arr,word)
//returns an array of concatenated words with array elements converted to lower case
console.log(answer)
//[ 'saifaliKHAN', 'shahrukhKHAN', 'salmanKHAN' ]


const word="World"
const arr=[ 'HeLLo', 'Bye', 'Bonjour' ]
const answer=convertTheArray(arr,word)
//returns an array of concatenated words with array elements converted to lower case
console.log(answer)
//[ 'helloWorld', 'byeWorld', 'bonjourWorld' ]
</code>
</pre>
, I have written this Solution Code: function convertTheArray(array,word){
   
    Array.prototype.lowerCaseConcat = function(charc) {
        var i; 
        for (i = 0; i < this.length; i++) {
            this[i] = this[i].toLowerCase();
           this[i]=this[i].concat(charc)
        }

    };

    array.lowerCaseConcat(word)

    return array;
}, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?