Multiple choice technology web technology

firstChild is a

  1. Property containing a reference to the first child of an element

  2. Method that makes the current node the first child

  3. Method that substitutes the first node for the last node

  4. Method that substitutes the last node for the first node

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

firstChild is a DOM property that contains a reference to the first child node of an element. It's a read-only property that returns null if the element has no children. It's not a method that performs actions - it simply accesses the existing node structure.