aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-12.js
blob: bf87d5c01500fa6f76e6d2cfcd860ebbee121f4b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
keep_name_of_getter: {
    options = { unused: true };
    input: { a = { get foo () {} } }
    expect: { a = { get foo () {} } }
}

keep_name_of_setter: {
    options = { unused: true };
    input: { a = { set foo () {} } }
    expect: { a = { set foo () {} } }
}