Version 1
[yaffs-website] / node_modules / core-js / modules / core.string.escape-html.js
diff --git a/node_modules/core-js/modules/core.string.escape-html.js b/node_modules/core-js/modules/core.string.escape-html.js
new file mode 100644 (file)
index 0000000..a4b8d2f
--- /dev/null
@@ -0,0 +1,11 @@
+'use strict';
+var $export = require('./_export');
+var $re = require('./_replacer')(/[&<>"']/g, {
+  '&': '&amp;',
+  '<': '&lt;',
+  '>': '&gt;',
+  '"': '&quot;',
+  "'": '&apos;'
+});
+
+$export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
\ No newline at end of file