JS: fix bug in temporary variable elimination
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
var result = "";
|
||||
|
||||
function box() {
|
||||
var $tmp;
|
||||
$tmp = result;
|
||||
result += "fail";
|
||||
result = $tmp + "OK";
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user