biofriction-wp-theme/node_modules/core-js/modules/_dom-create.js

8 lines
289 B
JavaScript
Raw Normal View History

2021-10-26 14:18:09 +02:00
var isObject = require('./_is-object');
var document = require('./_global').document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};