I have an array and I want to remove a bunch of indices
var arr = [0,1,2,3,4,5,6] var rmIndices = [1,4,5]
What is the best way to remove in
Using lodash https://lodash.com/
var arr = [0,1,2,3,4,5,6] var rmIndices = [1,4,5] _.pullAt(arr, rmIndices);