test/com/google/javascript/jscomp/Es6TranspilationIntegrationTest.java
/** ES5 getters and setters should report an error if the languageOut is ES3. */
ES5 getters and setters should report an error if the languageOut is ES3.
ES5 getters and setters should report an error if the languageOut is ES3 .
@Test
  public void testEs5GettersAndSetters_es3() {
    testError("let x = { get y() {} };", CANNOT_CONVERT);
    testError("let x = { set y(value) {} };", CANNOT_CONVERT);
  }
@ Test public void testEs5GettersAndSetters_es3 ( ) { testError ( "let x = { get y() {} };" , CANNOT_CONVERT ) ; testError ( "let x = { set y(value) {} };" , CANNOT_CONVERT ) ; }
ES5 getters and setters should report an error if the languageOut is ES3.
ES5 getters and setters should report an error if the languageOut is ES3 .