Array.remove()
Revision as of 03:05, 27 April 2020 by Devika (talk | contribs) (→Array.remove(ElementsToRemove|List of Elements))
Array.remove(ElementsToRemove|List of Elements)
Remove ElementsToRemove from original array.
[1,2,3].remove([2])
[1, 3]
[1,2,3].remove(2,3)
[1]
1..10.remove(1..5)
6 |
7 |
8 |
9 |
10 |