Bug Tracker

Opened 13 years ago

Closed 13 years ago

#871 closed enhancement (wontfix)

isArray

Reported by: john Owned by:
Priority: minor Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by john)

Test for items that are array-like, some test to consider

[0,1]
{ "0": 0, "1", 1, length: 2 }
document.body.childNodes
document.getElementsByTagName("body")
document.getElementsByTagName("form")[0] // should fail
document.getElementsByTagName("form")[0].elements
$("body")
"some string" // should fail

Change History (2)

comment:1 Changed 13 years ago by john

Type: bugenhancement

comment:2 Changed 13 years ago by john

Description: modified (diff)
need: Review
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.