mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
11 lines
162 B
JavaScript
11 lines
162 B
JavaScript
async function thing(inc) {
|
|
return new Promise(resolve => {
|
|
setTimeout(resolve, 10);
|
|
});
|
|
}
|
|
|
|
async function main() {
|
|
await thing(1);
|
|
await thing(2);
|
|
}
|