source: imaps-frontend/node_modules/es-to-primitive/index.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 454 bytes
RevLine 
[d565449]1'use strict';
2
3var ES5 = require('./es5');
4var ES6 = require('./es6');
5var ES2015 = require('./es2015');
6
7if (Object.defineProperty) {
8 Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 });
9 Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 });
10 Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 });
11} else {
12 ES6.ES5 = ES5;
13 ES6.ES6 = ES6;
14 ES6.ES2015 = ES2015;
15}
16
17module.exports = ES2015;
Note: See TracBrowser for help on using the repository browser.