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(“
screen.width: “+screen.width);

What will be the output of the following JavaScript code?
document.writeln(“
screen.width: “+screen.width);
a) Browser length
b) Browser width
c) Browser area
d) error

Answer: b
Explanation: screen.width method is provided in the screen object of Javascript. It returns the width of the browser screen

Join The Discussion