Comment #1 on issue 2967 by [email protected]: Uncaught RangeError:
Maximum call stack size exceeded
http://code.google.com/p/v8/issues/detail?id=2967
The problem here is that apply will push all those arrays on the stack, and
stack overflow cannot be avoided without manually increasing the limit or
rewriting (potentially) a lot of v8.
The sensible thing to do is to use reduce, as that won't put anything too
large on the stack.
This works (code found in the same file): arr.reduce(function(a, b){return
a.concat(b);})
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.