Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


What will happen when you run this command in the browser console?
Question Posted on 27 Apr 2021

Home >> JavaScript >> JavaScript Quiz >> What will happen when you run this command in the browser console?




What will happen when you run this command in the browser console?
document.body.innerHTML = date.getDate()
Choose the Correct option from Below list
(1)The page will show today's date after it is reloaded.
(2)The page will immediately show today's date.
(3)The browser will print today's date to the browser's console.
(4)The browser will show a pop-up window with today's date.

Answer:-(2)The page will immediately show today's date.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which script standard does JavaScript conform to?
Are Java and JavaScript different from one another? If so, how?
JavaScript and ECMAScript are two different languages.
What is JavaScript choose below option?
What are the three outputs layers of code that make a modern webpage?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |