aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-register/node_modules/core-js/modules/core.string.unescape-html.js
blob: eb8a6cfbf74c4effe064b3c8aec43dccf92ebb98 (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); } });