2 ms·
In V8 I believe it's limited by the stack size and when you get a stack overflow that gets converted to a RangeError in JS land. OTOH, Webkit and Firefox have
by emptysea 5y ago
In V8 I believe it's limited by the stack size and when you get a stack overflow that gets converted to a RangeError in JS land.
OTOH, Webkit and Firefox have arbitrary limits 65537, and 500k args.
https://bugs.webkit.org/show_bug.cgi?id=80797 https://bugs.webkit.org/show_bug.cgi?id=80797
https://github.com/mozilla/gecko-dev/blob/1475b3b0cb274b2a711befa0697af28d79859bba/js/src/vm/ArgumentsObject.h#L98 https://github.com/mozilla/gecko-dev/blob/1475b3b0cb274b2a71...