core.string.unescape-html.js
317 Bytes
'use strict';
var $export = require('./_export');
var $re = require('./_replacer')(/&(?:amp|lt|gt|quot|apos);/g, {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
''': "'"
});
$export($export.P + $export.F, 'String', { unescapeHTML: function unescapeHTML() { return $re(this); } });