For this Question: We have provided you with the JS boilerplate, within which you will complete the <code>arrayProperties</code> function which takes two arguments <code>arr1</code> and <code>arr2</code>, which are lists of fruits. Inside the function, you will be applying different methods on the array, and after some methods are applied, you will print the result on the console.
<strong>Note: </strong>Follow the order of steps, and accordingly apply the method to pass the tests.
Steps: 
<ol>
<li>Create an array <code>arr3</code>, which would consist of the items from <code>arr2</code> followed by the items from <code>arr1</code>  concatenated together.</li> 
<li><code>Push</code> arr2 array in the arr3 array and print the result to console.</li>
<li><code>Pop out</code> the last item from the arr3.</li>
<li>print the <code>reverse order</code> of arr3 to console.</li>
<li>Find the last index of the <code>"orange"</code> item in arr3 array and print it to console.</li>
<li>Now, create a slice of arr3 which <code>includes the first item till the third item</code> and print the length of it to the console. </li>
<li>Last step, <code>join</code> the sliced array with items separated by a comma and print it to the console. The last step should print a string to the console. </li>
</ol>
To test with output generator
Paste in input like this
["pineapple","orange","banana"] ["apple","orange","mango"]The function takes <code>two arrays</code>, arr1, and arr2, as arguments.
Both arr1 and arr2, are arrays of fruits.Prints <code>two arrays</code>, <code>two numbers</code>, and <code>a string</code>, in the same order, to the console.arr1= ["apple","orange","mango"];
arr2 = ["pineapple","orange"];

arrayProperties(arr1, arr2);

// should console log
['pineapple','orange','apple','orange','mango',['pineapple','orange' ]]
[ 'mango', 'orange', 'apple', 'orange', 'pineapple' ]
3
3
mango,orange,apple, I have written this Solution Code: function arrayProperties(arr1, arr2) {
  let arr3 = arr2.concat(arr1);
  arr3.push(arr2);
  console.log(arr3);

  arr3.pop();
  console.log(arr3.reverse());

  let orangeIndex = arr3.lastIndexOf("orange");
  console.log(orangeIndex);

  let slicedArr3 = arr3.slice(0, 3);
  console.log(slicedArr3.length);
  let arrayText = slicedArr3.join();
  console.log(arrayText);
}, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?