I use the somewhat infamous array-like objects in my Javascript code. typeof such an object is "object", obviously, but it only has numerical properties (ie. indicies) + a length property + a splice() method. Thanks to this Chromium's & Firefox's console display these as if they were arrays.
JSON.stringify() is having none of that, though, and simply outputs a JSON object with the indicies as strings. Is there a way to make JSON.stringify() think my array-like objects are arrays?