Write a JavaScript function using recursion to compute the Fibonacci number of n (where n is a positive integer). Your function should output the calculated result for the n given. You also need to type check to make sure the value being given is an integer Fib(n) 3 Fib(n) Fibn-1)Fib(n-2) for n>1 for n = 0 orn-1 console。log (myFib (5) ) ; 24 console.log (myFib(10)) 267 console.log (myEib (8)) 102 console.log (myEib (“Thirtyfive”)) Not an integer
OR
OR