Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work with IIFE #27

Open
daricat opened this issue Jul 7, 2021 · 0 comments
Open

Don't work with IIFE #27

daricat opened this issue Jul 7, 2021 · 0 comments

Comments

@daricat
Copy link

daricat commented Jul 7, 2021

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);

And in console got this error:
errorImage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant