// your code goes hereconst fiboarray = [];fiboarray[0] = 0;fiboarray[1] = 1;const size = 15;for(let i=2; i<size; i++){ fiboarray[i] = fiboarray[i-1]+fiboarray[i-2];}console.log(fiboarray);
Standard input is empty
0,1,1,2,3,5,8,13,21,34,55,89,144,233,377
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!