Skip to content

Instantly share code, notes, and snippets.

View AndrewJGregory's full-sized avatar
🎯
Focusing

Andrew Gregory AndrewJGregory

🎯
Focusing
View GitHub Profile
async function getPeople() {
const members = await fetch("/members");
const nonMembers = await fetch("/non-members");
return members.concat(nonMembers);
}
@AndrewJGregory
AndrewJGregory / Index.js
Last active October 17, 2019 15:59
setTimeoutQuestion
for (var i = 1; i < 5; i++) {
setTimeout(() => console.log(i), 0)
}