UglifyJS/test/compress/issue-12.js

12 lines
265 B
JavaScript
Raw Normal View History

2012-10-12 07:49:48 +00:00
keep_name_of_getter: {
options = { unused: true };
2012-10-12 07:49:48 +00:00
input: { a = { get foo () {} } }
expect: { a = { get foo () {} } }
}
keep_name_of_setter: {
options = { unused: true };
2012-10-12 07:49:48 +00:00
input: { a = { set foo () {} } }
expect: { a = { set foo () {} } }
}