index.js 478 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. var assign = require('./helpers/assign');
  3. var ES5 = require('./es5');
  4. var ES2015 = require('./es2015');
  5. var ES2016 = require('./es2016');
  6. var ES2017 = require('./es2017');
  7. var ES2018 = require('./es2018');
  8. var ES = {
  9. ES5: ES5,
  10. ES6: ES2015,
  11. ES2015: ES2015,
  12. ES7: ES2016,
  13. ES2016: ES2016,
  14. ES2017: ES2017,
  15. ES2018: ES2018
  16. };
  17. assign(ES, ES5);
  18. delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible
  19. assign(ES, ES2015);
  20. module.exports = ES;