diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 21:47:32 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 21:47:32 +0200 |
commit | 74c62cd3373e23fe77f509373f581c33872d813d (patch) | |
tree | f3b15accca8029bf07b0d20ba63d972cb4f9f739 /js/src/builtin/Array.js | |
parent | c18d9955df45be20537cc221dabebdae7d4fe744 (diff) | |
download | UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.gz UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.lz UXP-74c62cd3373e23fe77f509373f581c33872d813d.tar.xz UXP-74c62cd3373e23fe77f509373f581c33872d813d.zip |
Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.
Diffstat (limited to 'js/src/builtin/Array.js')
-rw-r--r-- | js/src/builtin/Array.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/builtin/Array.js b/js/src/builtin/Array.js index 45f90a7b8..360dd2af1 100644 --- a/js/src/builtin/Array.js +++ b/js/src/builtin/Array.js @@ -900,11 +900,7 @@ function ArrayToLocaleString(locales, options) { if (firstElement === undefined || firstElement === null) { R = ""; } else { -#if EXPOSE_INTL_API R = ToString(callContentFunction(firstElement.toLocaleString, firstElement, locales, options)); -#else - R = ToString(callContentFunction(firstElement.toLocaleString, firstElement)); -#endif } // Step 3 (reordered). @@ -919,11 +915,7 @@ function ArrayToLocaleString(locales, options) { // Steps 9.a, 9.c-e. R += separator; if (!(nextElement === undefined || nextElement === null)) { -#if EXPOSE_INTL_API R += ToString(callContentFunction(nextElement.toLocaleString, nextElement, locales, options)); -#else - R += ToString(callContentFunction(nextElement.toLocaleString, nextElement)); -#endif } } |