Sha256: f6c970caa721e703a2b4a589b4b4da7a93ea5f8ad7fd88e4abd090f51e0f0925

Contents?: true

Size: 289 Bytes

Versions: 82

Compression:

Stored size: 289 Bytes

Contents

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) : {};
};

Version data entries

82 entries across 38 versions & 8 rubygems

Version Path
dragonfly_puppeteer-0.1.0 node_modules/core-js/library/modules/_dom-create.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/modules/_dom-create.js