Vidyalelo
JavaScript · Q83

Invocation And Performance Navigation

Programming · JavaScript · question 83

Q83

What does the appendChild() method perform?

A.
Appends a node in the middle of the index taken as the parameter
B.
Appends a node as the first child
C.
Appends a node as the last child
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
The appendChild() method appends a node as the last child of a node.