Skip to content

Commit 3efe36c

Browse files
committed
bug fix
1 parent 78db1ff commit 3efe36c

File tree

1 file changed

+1
-1
lines changed
  • sources/net.sf.j2s.java.core/src/java/lang

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/java/lang/String.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ String.prototype.$generateExpFunction = function (str) {
7777
funStr += "\"" + arr[i] + "\" + $" + orders[i] + " + ";
7878
}
7979
funStr += "\"" + arr[i] + "\"; }";
80-
var f = Math.rand() < 0 ? "" : null; // to prevent closure compiler from reducing to "return
80+
var f = Math.random () < 0 ? "" : null; // to prevent closure compiler from reducing to "return
8181
eval (funStr);
8282
return f;
8383
};

0 commit comments

Comments
 (0)