Currently, if you try to read an attribute of an element, and that attribute does not exist .. the attr() functions returns an array of size 1 .. which the contents of that array as an empty string.
I believe this should return an zero length / empty array.
Currently, if you try to read an attribute of an element, and that attribute does not exist .. the attr() functions returns an array of size 1 .. which the contents of that array as an empty string.
I believe this should return an zero length / empty array.