JavaScript Reference/Javascript Properties/language navigator
"language" Example
<source lang="javascript">
<html> <body> <button onclick="alert(navigator.language);">Language</button> </body> </html>
</source>
"language" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |navigator | +----------------+--------------------------------------------------------------+
</source>
"language" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the system"s default language.
Syntax:
objectName.language
</source>