in reply to An efficient way to remove an element from an array
See splice. For understanding splice I really recommend reimplementing the pop, push, shift and unshift functions using only splice.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: An efficient way to remove an element from an array
by Anonymous Monk on Aug 06, 2012 at 10:32 UTC | |
by Corion (Patriarch) on Aug 06, 2012 at 10:35 UTC | |
|
Re^2: An efficient way to remove an element from an array
by sophate (Beadle) on Aug 06, 2012 at 10:34 UTC |