What is the difference between firstChild and firstElementChild?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

What is namespacing in javascript and how is it used?

0 Answers  


Do you have to declare variables in javascript?

0 Answers  


What is unobtrusive javascript? How to add behavior to an element using javascript?

0 Answers  


Write the code to maximize an image using javaScript?

2 Answers   Infosys,


What is the use of the String Tokenizer

1 Answers  






Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?

0 Answers  


What is data type in javascript?

0 Answers  


What are the four basic data structures in javascript?

0 Answers  


Can I declare a variable as CONSTANT in JavaScript?

0 Answers  


What is the use of a weakset object in javascript?

0 Answers  


What are ‘settimeout()’?

0 Answers  


What are anonymous functions in Javascript?

0 Answers  


Categories