Index: src/extensions/i18n/number-format.js |
diff --git a/src/extensions/i18n/number-format.js b/src/extensions/i18n/number-format.js |
index 5f5285da9a67b0cb0a829980e0e04910079ec5fe..1cd3db13554b245a4cdde7e47010df513b737f1e 100644 |
--- a/src/extensions/i18n/number-format.js |
+++ b/src/extensions/i18n/number-format.js |
@@ -237,7 +237,10 @@ function initializeNumberFormat(numberFormat, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.NumberFormat.prototype.resolvedOptions, |
+ 'resolvedOptions'); |
%FunctionRemovePrototype(Intl.NumberFormat.prototype.resolvedOptions); |
+%SetNativeFlag(Intl.NumberFormat.prototype.resolvedOptions); |
/** |
@@ -255,7 +258,9 @@ function initializeNumberFormat(numberFormat, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.NumberFormat.supportedLocalesOf, 'supportedLocalesOf'); |
%FunctionRemovePrototype(Intl.NumberFormat.supportedLocalesOf); |
+%SetNativeFlag(Intl.NumberFormat.supportedLocalesOf); |
/** |