Return the first N items of the Fibonacci sequence.
The input will be a whole number greater than or equal to zero.
The output should be iterable.
Examples:
(0) => [0]
(5) => [0, 1, 1, 2, 3, 5]
(9) => [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
*^You can assume that you will always recieved valid input
Language: Javascript ES6
Length: 62
Solution: Further optimisation
f=(n)=>n<2?[0,1].splice(0,n+1):(a=f(n-1),a[n]=a[n-1]+a[n-2],a)