2018-11-14 13:40:46 +03:00
|
|
|
function a() {
|
|
|
|
b();
|
|
|
|
c = 1;
|
2020-07-28 15:56:19 +03:00
|
|
|
throw "d";
|
2019-12-30 05:09:45 +03:00
|
|
|
// completely discarding the `if` would introduce some
|
|
|
|
// bugs. UglifyJS v1 doesn't deal with this issue; in v2
|
|
|
|
// we copy any declarations to the upper scope.
|
|
|
|
if (c) {
|
2018-11-14 13:40:46 +03:00
|
|
|
e();
|
2018-11-15 15:43:04 +03:00
|
|
|
var c;
|
2018-11-14 13:40:46 +03:00
|
|
|
function b() {
|
2018-10-25 07:17:05 +03:00
|
|
|
}
|
|
|
|
;
|
2019-12-30 05:09:45 +03:00
|
|
|
// but nested declarations should not be kept.
|
|
|
|
(function() {
|
2018-11-15 15:43:04 +03:00
|
|
|
var f;
|
2018-11-14 13:40:46 +03:00
|
|
|
function e() {
|
2018-10-25 07:17:05 +03:00
|
|
|
}
|
|
|
|
;
|
|
|
|
})();
|
|
|
|
}
|
|
|
|
}
|