source: imaps-frontend/node_modules/core-js/internals/document-create-element.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

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