Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me).
git-svn-id: svn://10.0.0.236/trunk@167764 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
684f684112
commit
87063fcd7b
@ -1369,13 +1369,13 @@ static JSFunctionSpec array_methods[] = {
|
||||
{"pop", array_pop, 0,0,0},
|
||||
{"shift", array_shift, 0,0,0},
|
||||
{"unshift", array_unshift, 1,0,0},
|
||||
{"splice", array_splice, 1,0,0},
|
||||
{"splice", array_splice, 2,0,0},
|
||||
#endif
|
||||
|
||||
/* Python-esque sequence methods. */
|
||||
#if JS_HAS_SEQUENCE_OPS
|
||||
{"concat", array_concat, 0,0,0},
|
||||
{"slice", array_slice, 0,0,0},
|
||||
{"concat", array_concat, 1,0,0},
|
||||
{"slice", array_slice, 2,0,0},
|
||||
#endif
|
||||
|
||||
{0,0,0,0,0}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user