Bug Tracker

Modify

Ticket #6501 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

$.map uses concat.apply, so number of elements in processing array is limited

Reported by: fedor.indutny Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: $.map,concat,arguments count Cc:
Blocking: Blocked by:

Description

If you try to $.map array with 100000 Elements you will get following error: "Function.prototype.apply cannot support 200001 arguments".

Attachments

testcase.html Download (373 bytes) - added by fedor.indutny 3 years ago.
Test case

Change History

Changed 3 years ago by fedor.indutny

Test case

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme
  • Component changed from unfiled to core

Works fine for me with Firefox 3.6.3. In any case, 100,000 is a lot of elements.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.