Skip to content

Correct check for undefined variable #2693

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

Merged
merged 1 commit into from
Sep 10, 2016

Conversation

mathiasrw
Copy link
Contributor

The code was comparing the result of typeof with a variable named undefined.

As typeof returns a string it should compare to 'undefined'

The code was comparing the result of `typeof` with a variable named `undefined`.

As typeof returns a string it should compare to `'undefined'`
@codecov-io
Copy link

codecov-io commented Sep 10, 2016

Current coverage is 92.22% (diff: 100%)

Merging #2693 into master will decrease coverage by 0.01%

@@             master      #2693   diff @@
==========================================
  Files           102        102          
  Lines         12446      12446          
  Methods        1559       1559          
  Messages          0          0          
  Branches       2040       2039     -1   
==========================================
- Hits          11480      11478     -2   
- Misses          966        968     +2   
  Partials          0          0          

Powered by Codecov. Last update cab69b4...4482961

@flovilmart
Copy link
Contributor

Thanks for catching that!

@flovilmart flovilmart merged commit f6312a1 into parse-community:master Sep 10, 2016
@mathiasrw mathiasrw deleted the patch-1 branch September 12, 2016 10:41
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

Successfully merging this pull request may close these issues.

4 participants