Compare Revisions

Array.prototype.slice()

Change Revisions

Revision 307967:

Revision 307967 by elabeca on

Revision 307969:

Revision 307969 by elabeca on

Title:
Array slice method
Array slice method
Slug:
JavaScript/Reference/Global_Objects/Array/slice
JavaScript/Reference/Global_Objects/Array/slice
Content:

Revision 307967
Revision 307969
t150      Binding can be done with the .<code>call</code> function oft150      Binding can be done with the .<code>call</code> function of
> <code>Function.prototype</code>&nbsp;and it can also be reduced > <code>Function.prototype</code> and it can also be reduced using
>using <code>[].slice.call(arguments)</code> instead of <code>Arra> <code>[].slice.call(arguments)</code> instead of <code>Array.pro
>y.prototype.slice.call</code>. Anyway, it can be simplified using>totype.slice.call</code>. Anyway, it can be simplified using <cod
> <code>bind</code>.>e>bind</code>.

Back to History