sequence( start, step )
This function takes two numeric inputs, start and stop, and returns a function of no inputs. The resulting function will generate a sequence of values beginning with start and offset by step Each function call will generate the next value in the sequence. Examples
var x = sequence( 3, 15 );
[ x(), x(), x() ] => [ 3, 18, 33 ]
var y = sequence( 28, -5 );
[ y(), y(), y() ] => [ 28, 23, 18 ]
How do I go about solving this?