What is the reason for avoiding the attributes property in the HTML DOM?
(a) Found unnecessary
(b) Attributes don’t have attributes
(c) Attributes have attributes
(d) Considered irrelevant
I had been asked this question during an interview.
My doubt stems from HTML DOM topic in chapter Caching, Debugging and Animation of JavaScript