Skip to content

Instantly share code, notes, and snippets.

@boostup
Created July 31, 2020 15:30
Show Gist options
  • Save boostup/79788bdde607ef8316039772f4c9dee9 to your computer and use it in GitHub Desktop.
Save boostup/79788bdde607ef8316039772f4c9dee9 to your computer and use it in GitHub Desktop.
function createRecord(count) {
let records = [];
for (let i = 0; i < count; i++) {
records[i] = {
text: `username_${i}`,
};
}
return records;
}
const records = createRecord(1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment