For this Question: Complete the function isArray which takes an input which can be any data type and returns true
if it's an array else false.Could be any datatype string number object or an arraytrue or falseSample Input:-
1
[2, 3]
Sample Output
false
true, I have written this Solution Code:   function isArray(input){
    if(Array.isArray(input)) {
      console.log(true)
    }else{
      console.log(false)
    }
  }, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?