Don't work with IIFE
Opened this issue · 0 comments
daricat commented
Hi :) I think app have some problems with IIFE.
When I try this example, app had stop.
console.log(1);
setTimeout((function two() {
console.log('lol');
return function nested() {
console.log(2);
}
})(), 1000);
setTimeout(function three() { console.log(3) }, 0);
console.log(4);