Ticket #8042 (closed bug: duplicate)
jQuery.data() should have better behavior when int overflows
|Reported by:||embrangler||Owned by:|
When calling jQuery.data() on DOM attrs containing large integers, the result could be:
- a string (seems most convenient)
- undefined, NaN, etc.
At the very least, it shouldn't return something different from the string attr itself and pretend that it's returning what you expect.