| Index: src/js/string.js
|
| diff --git a/src/js/string.js b/src/js/string.js
|
| index a4019784e8ec1239ded42118be62df9eb6bd204c..cb74a67cfc22cda4b83562c704a5fa39707b476a 100644
|
| --- a/src/js/string.js
|
| +++ b/src/js/string.js
|
| @@ -558,18 +558,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, """);
|
| @@ -860,7 +848,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
|
| ]);
|
|
|