1 var requireObjectCoercible = require('../internals/require-object-coercible');
5 // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
6 // https://tc39.es/ecma262/#sec-createhtml
7 module.exports = function (string, tag, attribute, value) {
8 var S = String(requireObjectCoercible(string));
10 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"';
11 return p1 + '>' + S + '</' + tag + '>';