source: trip-planner-front/node_modules/core-js/internals/document-create-element.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 340 bytes
Line 
1var global = require('../internals/global');
2var isObject = require('../internals/is-object');
3
4var document = global.document;
5// typeof document.createElement is 'object' in old IE
6var EXISTS = isObject(document) && isObject(document.createElement);
7
8module.exports = function (it) {
9 return EXISTS ? document.createElement(it) : {};
10};
Note: See TracBrowser for help on using the repository browser.