So I have this famous function from the documentation.
function resolveAfter2Seconds(x) { return new Promise(resolve => { setTimeout(() => {