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.appCodeName: “+navigator.appCodeName);

What will be the output of the following JavaScript code?
document.writeln(“
navigator.appCodeName: “+navigator.appCodeName);
a) Browser name
b) Version
c) error
d) undefined

Answer: a
Explanation: The JavaScript navigator object is used for browser detection. appCodeName returns the browser name.

Join The Discussion