This feature is experimental. It may be changed or removed in a future version without prior notice or deprecation.
Returns the value of the given attribute on the given element, cast to a number.
If the attribute value cannot be cast to a number,
undefined is returned.
The element from which to retrieve the attribute value.
The attribute name.
The cast attribute value.