test/com/google/javascript/jscomp/Es6TranspilationIntegrationTest.java
/** ES5 getters and setters on object literals should be left alone if the languageOut is ES5. */
ES5 getters and setters on object literals should be left alone if the languageOut is ES5.
ES5 getters and setters on object literals should be left alone if the languageOut is ES5 .
@Test
  public void testEs5GettersAndSettersObjLit_es5() {
    setLanguageOut(LanguageMode.ECMASCRIPT5);
    testSame("var x = { get y() {} };");
    testSame("var x = { set y(value) {} };");
  }
@ Test public void testEs5GettersAndSettersObjLit_es5 ( ) { setLanguageOut ( LanguageMode . ECMASCRIPT5 ) ; testSame ( "var x = { get y() {} };" ) ; testSame ( "var x = { set y(value) {} };" ) ; }
ES5 getters and setters on object literals should be left alone if the languageOut is ES5.
ES5 getters and setters on object literals should be left alone if the languageOut is ES5 .