For this Question: Implement the function <code>ceil</code>, which should take a number which can be a float(decimal)
and return its result as an integer with ceil function applied to it (Use JS In built functions)Function will take a float as inputFunction will return a numberconsole.log(ceil(1.99)) // prints 2

console.log(ceil(2.1)) // prints 3

console.log(ceil(-1.1)) // prints -1, I have written this Solution Code: function ceil(num){
    // write code here
    // return the output , do not use console.log here
    return Math.ceil(num)
}, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?