index.js 427 B

12345678910111213141516171819202122
  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 ES = {
  8. ES5: ES5,
  9. ES6: ES2015,
  10. ES2015: ES2015,
  11. ES7: ES2016,
  12. ES2016: ES2016,
  13. ES2017: ES2017
  14. };
  15. assign(ES, ES5);
  16. delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible
  17. assign(ES, ES2015);
  18. module.exports = ES;