Guest User

Untitled

a guest
Dec 17th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. function range (x, y){
  2.  
  3. if(y - x == 2){
  4.  
  5. return [y-1];
  6.  
  7. }else{
  8.  
  9. var up = range(x, y-1);
  10.  
  11. }
  12. }
  13. console.log(range(2,9));
Add Comment
Please, Sign In to add comment