test/com/google/javascript/jscomp/Es6TranspilationIntegrationTest.java
/** Class expressions that are the RHS of an assignment. */
Class expressions that are the RHS of an assignment.
Class expressions that are the RHS of an assignment .
@Test
  public void testClassExpressionInAssignment() {
    test("goog.example.C = class { }",
        "/** @constructor @struct */ goog.example.C = function() {}");
    test(
        "goog.example.C = class { foo() {} }",
        lines(
            "/** @constructor @struct */ goog.example.C = function() {}",
            "goog.example.C.prototype.foo = function() {};"));
  }
@ Test public void testClassExpressionInAssignment ( ) { test ( "goog.example.C = class { }" , "/** @constructor @struct */ goog.example.C = function() {}" ) ; test ( "goog.example.C = class { foo() {} }" , lines ( "/** @constructor @struct */ goog.example.C = function() {}" , "goog.example.C.prototype.foo = function() {};" ) ) ; }
Class expressions that are the RHS of an assignment.
Class expressions that are the RHS of an assignment .