Guest User

JS 1

a guest
Mar 5th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. "use strict";
  2. function sequence(start, step) {
  3. start = start|| 0;
  4. step = step|| 1;
  5. start = start - step;
  6. return function (){
  7. start = start + step;
  8. return start;
  9. };
  10. }
Advertisement
Add Comment
Please, Sign In to add comment