securityos/node_modules/core-js/modules/core.string.unescape-html.js

12 lines
306 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
'use strict';
var $export = require('./_export');
var $re = require('./_replacer')(/&(?:amp|lt|gt|quot|apos);/g, {
'&': '&',
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&apos;': "'"
});
$export($export.P + $export.F, 'String', { unescapeHTML: function unescapeHTML() { return $re(this); } });