aboutsummaryrefslogtreecommitdiff
path: root/test/compress/screw-ie8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/screw-ie8.js')
-rw-r--r--test/compress/screw-ie8.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/compress/screw-ie8.js b/test/compress/screw-ie8.js
index 82152b7d..b4098b8e 100644
--- a/test/compress/screw-ie8.js
+++ b/test/compress/screw-ie8.js
@@ -102,12 +102,12 @@ dont_screw_try_catch: {
};
}
expect: {
- bad = function(n){
- return function(t){
+ bad = function(t){
+ return function(n){
try{
- n()
- } catch(n) {
- t(n)
+ t()
+ } catch(t) {
+ n(t)
}
}
};
@@ -349,11 +349,11 @@ issue_2254_1: {
try {
console.log(f("PASS"));
} catch (e) {}
- function f(e) {
+ function f(t) {
try {
throw "FAIL";
- } catch (t) {
- return e;
+ } catch (e) {
+ return t;
}
}
}