• Generates an array, containing the Fibonacci sequence, up until the nth term

    Example

    fibonacci(6); // [0, 1, 1, 2, 3, 5]
    

    Parameters

    • nth: number

    Returns number[]

Generated using TypeDoc