Opened 14 years ago
Closed 14 years ago
#3410 closed defect (wontfix)
dojo.lang.inArray({ a: 1, b: 2, c: 3}, "b") causes infinite loop
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.4.2 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
Invoking dojo.lang.inArray(...) with an Object instead of an Array in the first position causes an infinite loop in 0.4.3.
Granted, it's not the intended use of the function. Just odd though that it locks up a browser.
Note: See
TracTickets for help on using
tickets.
inArray was not ported. Use dojo.some in 0.9+