Skip to content

Commit 3e1f24c

Browse files
BiserkovJosh-Cena
andauthored
Fix typo. Navigator should be lower case here. (#41040)
* Fix typo. Navigator should be lower case here. Navigator.languages => undefined navigator.languages => Array [ "en-US", "en" ] * Same here (see previous commit) * Apply suggestions from code review --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
1 parent 1116fb4 commit 3e1f24c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

files/en-us/web/api/navigator/language/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ browser-compat: api.Navigator.language
88

99
{{APIRef("HTML DOM")}}
1010

11-
The **`Navigator.language`** read-only property returns a string representing the preferred language of the user, usually the language of the browser UI.
11+
The **`language`** read-only property of the {{domxref("Navigator")}} interface returns a string representing the preferred language of the user, usually the language of the browser UI.
1212

1313
## Value
1414

files/en-us/web/api/navigator/languages/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ browser-compat: api.Navigator.languages
88

99
{{APIRef("HTML DOM")}}
1010

11-
The **`Navigator.languages`** read-only property
11+
The **`languages`** read-only property of the {{domxref("Navigator")}} interface
1212
returns an array of strings representing the user's preferred
1313
languages. The language is described using language tags according to
1414
{{RFC(5646, "Tags for Identifying Languages (also known as BCP 47)")}}. In the returned

0 commit comments

Comments
 (0)