For all those Promises proponents out there ready to burn me down, this is how you do it in C:
delay(1000);
And here the amazing Promises with await: var wait = ms => new Promise((r, j)=> setTimeout(r, ms));
await wait(1000);
Is it really that difficult to at least abstract this wait function away in the Javascript language?