I later need splice to arbitrarily remove items out of the array
Hm. Three thoughts:
I rarely ever find myself needing to use splice. When I do find myself reaching for it, I always pause and look again at my design. 8 times out of 10 I find a better way.
In reply to Re^3: strange behaviour, would appreciate any comment / alternative method
by BrowserUk
in thread strange behaviour, would appreciate any comment / alternative method
by djamu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |