PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/core.string.escape-html.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 11 lines | 10 code | 1 blank | 0 comment | 0 complexity | 773edb24828d459ebf830eccb3ad0be3 MD5 | raw file
 1'use strict';
 2var $export = require('./_export');
 3var $re = require('./_replacer')(/[&<>"']/g, {
 4  '&': '&amp;',
 5  '<': '&lt;',
 6  '>': '&gt;',
 7  '"': '&quot;',
 8  "'": '&apos;'
 9});
10
11$export($export.P + $export.F, 'String', { escapeHTML: function escapeHTML() { return $re(this); } });