blob: 9fd6ecf1109e81982f755bdff082384a25fd1802 (
plain)
1
2
3
4
5
6
7
8
9
|
window.baabar = function baabar() {
return new Promise(resolve => setTimeout(resolve, 100))
}
window.foobar = async function foobar() {
await baabar();
console.log("YO")
}
foobar();
|