summaryrefslogtreecommitdiff
path: root/node_modules/core-js/modules/core.string.unescape-html.js
blob: 413622b9484e5c9d28eb5d73444279298624414d (plain)
1
2
3
4
5
6
7
8
9
10
11
'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); }});