Last active
August 29, 2015 13:57
-
-
Save wwwdata/9410648 to your computer and use it in GitHub Desktop.
Funny Type Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Awesome type Tests | |
it('0 == 0', function() { | |
expect(0 == 0).toBe(true); | |
}); | |
it('\'0\' == 0', function() { | |
expect('0' == 0).toBe(true); | |
}); | |
it('false == 0', function() { | |
expect(false == 0).toBe(true); | |
}); | |
it('null == 0', function() { | |
expect(null == 0).toBe(true); | |
}); | |
it('undefined == 0', function() { | |
expect(undefined == 0).toBe(true); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment