InfSeq3.init() InfSeq3.answer InfSeq3.code InfSeq3.index InfSeq3.indexPlusOne

Consider the following JavaScript code that defines and then calls a recursive function to build a sequence:

problemCode

What is the value is.take(seq,indexPlusOne)[index] after this code is executed?

$('#answerTextarea').val()
return InfSeq3.checkAnswer(guess);

Note that the correct answer is a single integer.

Once you have determined the correct sequence, make sure to extract the element at the correct position.

The correct answer is: answer