Re:Poll: Is the leetcode grind necessary to land a high payi...
by roryokane on Sunday January 30, 2022 @11:42AM
(#30138626)
That implicitly calls Function.prototype.apply(), which will fail if given more arguments than an implementation-specific limit (https://stackoverflow.com/questions/22747068/is-there-a-max-...). Looping with reduce() avoids that restriction.
[ Parent
| on HN ]
There are no comments on this comment yet.