mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 11:37:07 +00:00
Start index for var-args needs to be 2, not 0. I only got lucky that it worked anyway.
This commit is contained in:
1 parent
e62fd3cf40
commit
2cc6c54fbf
1 file changed
+1
-1
@@ -23,7 +23,7 @@
|
||||
{
|
||||
var product;
|
||||
|
||||
for (var i = 0, ii = arguments.length; i < ii; ++i)
|
||||
for (var i = 2, ii = arguments.length; i < ii; ++i)
|
||||
product = product ? product * arguments[i] : arguments[i];
|
||||
|
||||
return product;
|
||||
|
||||
Reference in new issue
Block a user