Here my while condition is working, even if the value of c is greater than user Input, Am I missing anything?
function fibonacciSequence() {
var a = 0;
var b = 1;
var userInput = parseInt(prompt("Enter the number for a Fibonacci Sequence: "));
var c = a + b;
var fibonacciArray = new Array();
fibonacciArray.push(a);
fibonacciArray.push(b);
while (c\<userInput) {
c = a + b;
a = b;
b = c;
fibonacciArray.push(c);
} c = a + b;
alert(fibonacciArray);
}