JavaScript - Interview Questions and Answers for 'JavaScript' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3358 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



JavaScript - Interview Questions and Answers for 'JavaScript' - 18 question(s) found - Order By Newest

  Q1. What is a cookie ?Java EE
admin
info@buggybread.com
Ans. A cookie is a small piece of text stored on a user's computer by the browser for a specific domain. Commonly used for authentication, storing site preferences, and server session identification.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     cookie   javascript   web application   session management   browser   j2ee     Asked in 16 Companies      basic        frequent


 Q2. Which of the following is fastest to locate the DOM element ?

a. document.getElementById
b. document.getElementByName
c. document.ElementName.SubElementName
d. They all result in similar performance in retrieving the DOM element.
Anonymous
Ans. document.ElementName.SubElementName

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     html   dom   javascript


 Q3. Why should we have Javascript method definitions within HTML Head section ?

a. Its safe to have javascript code within head section
b. Head section gets loaded even if there is any error in loading HTML page
c. Head section gets executed first and hence assure that js method definition will be loaded before they are called
d. So that we can have method definition and method call at the same place
Anonymous
Ans. Head section gets executed first and hence assure that js method definition will be loaded before they are called

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     html   head section   javascript


 Q4. What is event bubbling ?JavaScript2017-05-20 15:30:41

Ans. LinkedIn

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     event bubbling  events     Asked in 1 Companies


 Q5. What is event handling ? What is event propagation ?JavaScript2017-05-20 15:32:05

Ans. LinkedIn

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     event habdling  event propagation  events     Asked in 1 Companies


 Q6. What are falsy attributes in javascript ?Javascript2017-10-18 13:17:57

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q7. Difference between Scriptlet and JSTL.Javascript2017-10-22 14:59:35

 This question was recently asked at 'Hexaware'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q8. How would you choose your favorite company name for e.g. three companies are given in radio buttons Infosys, TCS and Aricent. Do You need to loop trough all radio buttons and select your favorite company or can just get the selected value.Javascript2018-04-15 16:14:08

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q9. what is event handler script ?JavaScript2018-06-06 08:39:59

 This question was recently asked at 'American Express'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q10. How can java script access a database ?JavaScript2018-06-06 08:40:29

 This question was recently asked at 'American Express'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q11. Which statement is used to exit a function in java script ?JavaScript2018-06-06 08:40:55

Ans. return

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q12. What is the difference between Java OR operator and Java script OR operator ?JavaScript2018-06-26 19:18:03

 This question was recently asked at 'Symantec'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q13. How do you debug Javascript code ?JavaScript2018-06-26 19:20:13

Ans. Possible Answer - I use either Firebug or Chrome Developer tool.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


  Q14. Difference between == and === ?JavaScript2018-07-04 16:16:18

Ans. == compares values === is used in scripting languages for comparing two values as well as there data tpe. like in js,php.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     ==  ===  == vs ===     Asked in 13 Companies      basic        frequent


 Q15. What is type script ? What are the advantages of typescript ? How is it different than javascript ?TypeScript2018-10-15 11:52:15

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Typescript vs Javascript


 Q16. What is the use of this keyword in javascript ?Javascript2019-01-27 16:09:03

Ans. This keyword refers to the current instance of the class.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q17. What does 'variable hoisting' mean? JavaScript2019-02-02 15:27:12

Ans.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q18. How do you debug Javascript code ?Javascript2019-04-09 08:59:26

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this