JavaScript Reference/Javascript Properties/language navigator

Материал из Web эксперт
Перейти к: навигация, поиск

"language" Example

    
<html>
<body>
<button onclick="alert(navigator.language);">Language</button>
</body>
</html>



"language" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |navigator                                                     |
+----------------+--------------------------------------------------------------+



"language" Syntax and Note

Note:
Read-only property. 
Returns the system"s default language.
    
Syntax:
    
objectName.language