This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @param {Number} size is the amount of numbers of the Fibonacci sequence | |
| */ | |
| function fibonacci(size) { | |
| var first = 0; | |
| var second = 1; | |
| var next; | |
| var count = 2; | |
| var result = [first, second]; | |
| if (size < 2) { |