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

return statement fails #59

Open
msight-ar opened this issue May 24, 2022 · 0 comments
Open

return statement fails #59

msight-ar opened this issue May 24, 2022 · 0 comments

Comments

@msight-ar
Copy link

I have a function like this:

`function HandlePopup()
{
var returnValue = window.showModalDialog(url [,args,opt]);

return returnValue != "--cancel--";
}`

So, in this example, what happens is that when performing the eval, I observe that the function declaration is eliminated, preventing a value from being returned.

I depend on the boolean result to continue, I have no other way.

How can I fix this situation?

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