Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // do something 10 times
- '.'.repeat(10).split('').forEach(dot => doSomething());
- // add 7 more `{}` to `rows`
- const rows = [{}, {}];
- Array(7).fill({}).map(o => rows.push({}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement