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

Value of function with no return statement should be undefined #1

Closed
omphalos opened this issue Jan 21, 2013 · 1 comment
Closed

Value of function with no return statement should be undefined #1

omphalos opened this issue Jan 21, 2013 · 1 comment

Comments

@omphalos
Copy link
Collaborator

The following test fails:

console.log((function() { 1; })());
@int3 int3 closed this as completed in 22e0afc Jan 24, 2013
@int3
Copy link
Owner

int3 commented Jan 24, 2013

Thanks for the bug report!

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

2 participants