Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following JavaScript code?
document.writeln(“
navigator.language: “+navigator.language);

What will be the output of the following JavaScript code?
document.writeln(“
navigator.language: “+navigator.language);
a) Broswer name
b) Browser language
c) Browser version
d) Error

Answer: c
Explanation: navigator.language returns the language of the browser. It is supported in Netscape and Firefox only.

Join The Discussion