Chrome RangeError: Maximum call stack size exceeded when using jQuery $.map
问题 I'm testing a web application for my employers which involves retrieving a large amount of data from the server. The data is returned as a JSON object using the $.ajax function, containing large quantities of sub-objects which I convert to arrays using jQuery's $.map function as follows data_points = $.map(result.data.LotsOfIt, function(value, ndx){ return value; }); //Throws Maximum call stack size exceeded with large data set. This seems to be exhausting Chromes stack size limit, everytime