What is the difference between using the delete operator on the array element as opposed to using the Array.splice method?
For example:
myArray = [\
For those who wants to use Lodash can use: myArray = _.without(myArray, itemToRemove)
myArray = _.without(myArray, itemToRemove)
Or as I use in Angular2
import { without } from 'lodash'; ... myArray = without(myArray, itemToRemove); ...