You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: files/en-us/mozilla/firefox/releases/141/index.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,11 @@ Firefox 141 is the current [Beta version of Firefox](https://www.firefox.com/en-
34
34
35
35
<!-- #### Removals -->
36
36
37
-
<!--### JavaScript-->
37
+
### JavaScript
38
38
39
-
<!-- No notable changes. -->
39
+
- The [`variants`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/variants) accessor property is now supported on {{jsxref("Intl.Locale")}} instances.
40
+
This property returns the variants associated with a locale as a string of dash (`-`) separated identifiers.
41
+
It offers a more robust way to get and set variant subtags of a language identifier as opposed to manually parsing or modifying a locale string ([Firefox bug 1970161](https://bugzil.la/1970161)).
0 commit comments