Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. // do something 10 times
  2. '.'.repeat(10).split('').forEach(dot => doSomething());
  3.  
  4. // add 7 more `{}` to `rows`
  5. const rows = [{}, {}];
  6. Array(7).fill({}).map(o => rows.push({}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement