adplus-dvertising
frame-decoration

Question

Which of the following Node object property returns the local part of the name of a node?

a.

lastName

b.

localName

c.

firstName

d.

none of the mentioned

Posted under JavaScript

Answer: (b).localName

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following Node object property returns the local part of the name of a node?