
// import  * as es6 from './module';
// import es6Default from './module';
// import { a, b } from './module';
// const { a, b } = es6;

import TestableClass from './decorator';

// import { PointClass, PointPrototype } from './class';

describe('feature', () => {
  // it('es6 module', () => {
  //   console.log(es6);
  //   console.log(es6Default);
  //   console.log(a);
  //   console.log(b);
  // });

  // it('es6 class', () => {
  //   console.log(new PointPrototype().__proto__.prototype);
  //   console.log(PointPrototype.name);
  //
  //   console.log(Object.keys(PointClass.prototype));
  //   console.log(Object.getOwnPropertyNames(PointClass.prototype));
  //
  //   console.log(Object.keys(PointPrototype.prototype));
  //   console.log(Object.getOwnPropertyNames(PointPrototype.prototype));
  // });

  it('es6 decorator', () => {
    console.log(TestableClass.isTestable);
  });
});


@@ -890,14 +890,721 @@
 );%0A  %7D);
+%0A%0A  it('test object and array', () =%3E %7B%0A    const %7B test1, demo1, struct1 %7D = %7B test1: 'test1', demo1: 'demo1', struct1: 'struct1' %7D;%0A    let beforeTime1 = new Date();%0A    console.log(test1);%0A    console.log(demo1);%0A    console.log(struct1);%0A    let endTime1 = new Date();%0A    console.log('object test: ', beforeTime1.getTime());%0A    console.log('object test: ', endTime1.getTime());%0A%0A%0A    const %5Btest2, demo2, struct2%5D = %5B'test2', 'demo2', 'struct2'%5D;%0A    let beforeTime2 = new Date();%0A    console.log(test2);%0A    console.log(demo2);%0A    console.log(struct2);%0A    let endTime2 = new Date();%0A    console.log('array test: ', beforeTime2.getTime());%0A    console.log('array test: ', endTime2.getTime());%0A%0A  %7D);
 %0A%7D);%0A%0A

test object and array spread effection