Opened 13 years ago
Closed 13 years ago
#5622 closed bug (worksforme)
this.toArray is not a function in get
Reported by: | kabomi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a1 |
Keywords: | get toArray | Cc: | |
Blocked by: | Blocking: |
Description
Value of this var
this [ length=0 fields=[6]]
fields ["id", "name", "sel", 3 more... 0=id 1=name 2=sel 3=desc 4=groups 5=lic]
length 0
Bug found! MessageError: this.toArray is not a function
jQuery JavaScript Library v1.4a1 development
172 get: function( num ) {
173 return num == null ?
175 Return a 'clean' array
176 this.toArray() :
178 Return just the object
179 ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
180 },
In stable version works good!
jQuery JavaScript Library v1.3.2 development
109 get: function( num ) {
110 return num === undefined ?
112 Return a 'clean' array
113 Array.prototype.slice.call( this ) :
115 Return just the object
116 this[ num ];
117 },
Change History (3)
comment:1 Changed 13 years ago by
comment:3 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I can't duplicate this - can you provide a test page?
Found in Firefox 3.5.5