issue-12.js 265 B

123456789101112
  1. keep_name_of_getter: {
  2. options = { unused: true };
  3. input: { a = { get foo () {} } }
  4. expect: { a = { get foo () {} } }
  5. }
  6. keep_name_of_setter: {
  7. options = { unused: true };
  8. input: { a = { set foo () {} } }
  9. expect: { a = { set foo () {} } }
  10. }