Opened 11 years ago
Closed 11 years ago
#10076 closed bug (fixed)
$.inArray crushes IE6 and Chrome if second argument is `null` or `undefined`
Reported by: | Anton Ryzhov | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.6.3 |
Component: | core | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → open |
---|
comment:2 Changed 11 years ago by
Component: | unfiled → core |
---|---|
Milestone: | None → 1.6.3 |
Priority: | undecided → low |
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Merge pull request #465 from anton-ryzhov/master
Fixes #10076. $.inArray crashes IE6 and Chrome if second argument is null
or undefined
(Thanks anton-ryzhov!)
Changeset: a839af034db2bd934e4d4fa6758a3fed8de74174
Note: See
TracTickets for help on using
tickets.
The real issue is that the correctly thrown TypeError is preventing the method from returning a value: