index.js 454 B

1234567891011121314151617
  1. 'use strict';
  2. var ES5 = require('./es5');
  3. var ES6 = require('./es6');
  4. var ES2015 = require('./es2015');
  5. if (Object.defineProperty) {
  6. Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 });
  7. Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 });
  8. Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 });
  9. } else {
  10. ES6.ES5 = ES5;
  11. ES6.ES6 = ES6;
  12. ES6.ES2015 = ES2015;
  13. }
  14. module.exports = ES2015;