MCQs > IT & Programming > JavaScript > Functions to test whether an element has any children or not?

JavaScript MCQs

Which of the following functions can you use to test whether an element has any children or not?

Answer

Correct Answer: hasChildNodes()

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it