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

Invalid warning "Did you mean to return a conditional instead of an assignment" #878

Closed
jasonsanjose opened this Issue Feb 26, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@jasonsanjose

jasonsanjose commented Feb 26, 2013

(function foo() {
  "use strict";
  return "=";
}());

This snippet results in the following error:

Line 3: return "=";
Did you mean to return a conditional instead of an assignment?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment