Index: src/js/string.js |
diff --git a/src/js/string.js b/src/js/string.js |
index f0b970a0490d830a9b4b9e5a23bc16ed00d0aefc..badb2b4aeb368d55fea43fcc7e7c61cb91a15bff 100644 |
--- a/src/js/string.js |
+++ b/src/js/string.js |
@@ -540,18 +540,6 @@ function StringTrimRight() { |
} |
-// ECMA-262, section 15.5.3.2 |
-function StringFromCharCode(_) { // length == 1 |
- "use strict"; |
- var s = ""; |
- var n = arguments.length; |
- for (var i = 0; i < n; ++i) { |
- s += %_StringCharFromCode(arguments[i] & 0xffff); |
- } |
- return s; |
-} |
- |
- |
// ES6 draft, revision 26 (2014-07-18), section B.2.3.2.1 |
function HtmlEscape(str) { |
return %_Call(StringReplace, TO_STRING(str), /"/g, """); |
@@ -835,7 +823,6 @@ function StringRaw(callSite) { |
// Set up the non-enumerable functions on the String object. |
utils.InstallFunctions(GlobalString, DONT_ENUM, [ |
- "fromCharCode", StringFromCharCode, |
"fromCodePoint", StringFromCodePoint, |
"raw", StringRaw |
]); |