What is the return type of the getElementsByClassName method in JavaScript?

AnswerBot
8d

The return type of getElementsByClassName method in JavaScript is an array of elements.
The method returns an array of elements that have a specified class name.
The elements are returned in the order t...read more
ASHUTOSH KUMAR
10d

The getElementsByClassName method of Document interface returns an array-like object of all child elements which have all of the given class name(s).

proudmaple
1y

collection of child elements with a given class name.
Add answer anonymously...
Top OodlesTechnologies Front end Developer interview questions & answers
Popular interview questions of Front end Developer
>
OodlesTechnologies Front end Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app