Raw File
issue-1202.js
mangle_keep_fnames_false: {
    options = {
        keep_fargs: true,
        keep_fnames: true,
    }
    mangle = {
        keep_fnames : false,
    }
    input: {
        "use strict";
        function total() {
            return function n(a, b, c) {
                return a + b + c;
            };
        }
    }
    expect: {
        "use strict";
        function total() {
            return function t(n, r, u) {
                return n + r + u;
            };
        }
    }
}

mangle_keep_fnames_true: {
    options = {
        keep_fargs: true,
        keep_fnames: true,
    }
    mangle = {
        keep_fnames : true,
    }
    input: {
        "use strict";
        function total() {
            return function n(a, b, c) {
                return a + b + c;
            };
        }
    }
    expect: {
        "use strict";
        function total() {
            return function n(t, r, u) {
                return t + r + u;
            };
        }
    }
}
back to top