add test for issue #12
This commit is contained in:
9
test/compress/issue-12.js
Normal file
9
test/compress/issue-12.js
Normal file
@@ -0,0 +1,9 @@
|
||||
keep_name_of_getter: {
|
||||
input: { a = { get foo () {} } }
|
||||
expect: { a = { get foo () {} } }
|
||||
}
|
||||
|
||||
keep_name_of_setter: {
|
||||
input: { a = { set foo () {} } }
|
||||
expect: { a = { set foo () {} } }
|
||||
}
|
||||
Reference in New Issue
Block a user