Created
July 5, 2014 16:11
-
-
Save spikeheap/89e140f018f24dd3e070 to your computer and use it in GitHub Desktop.
Stupid JavaScript
This file contains hidden or 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
| // The tests. | |
| it('test', function() { | |
| var a1 = []; | |
| a1.push({x:0, y:2}); | |
| a1.push({x:1, y:2}); | |
| a1.push({x:2, y:2}); | |
| a1.push({x:3, y:3}); | |
| expect(a1.indexOf({x:0, y:2})).toBe(true); | |
| }); |
richdouglasevans
commented
Jul 5, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment