Created
January 6, 2012 21:17
-
-
Save jorendorff/1572446 to your computer and use it in GitHub Desktop.
test case
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
function f() { | |
var a = [1, 0.5, 1]; | |
var b; | |
for (var j = 0; j < a.length; j++) { | |
var z = -a[j]; | |
if (b === undefined || z < b) | |
b = z; | |
} | |
} | |
f(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment