1 var uncurryThis = require('../internals/function-uncurry-this');
2 var requireObjectCoercible = require('../internals/require-object-coercible');
3 var toString = require('../internals/to-string');
6 var replace = uncurryThis(''.replace);
8 // `CreateHTML` abstract operation
9 // https://tc39.es/ecma262/#sec-createhtml
10 module.exports = function (string, tag, attribute, value) {
11 var S = toString(requireObjectCoercible(string));
13 if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"';
14 return p1 + '>' + S + '</' + tag + '>';