Guest User

Untitled

a guest
Dec 17th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function __fractalseq_gen(n) {
  2. let result = [''];
  3.  
  4. for(let i = 1; i <= n; i++) {
  5. result.push([ result[i - 1] + '' + i ])
  6. }
  7.  
  8. return result.join(' ');
  9. }
Add Comment
Please, Sign In to add comment