0👍
If you’re passing the name of the array, you would use
this[arrayName].splice(index, i)
If you pass the array itself, it would just be
arrayName.splice(index, i)
Source:stackexchange.com
0👍
If you’re passing the name of the array, you would use
this[arrayName].splice(index, i)
If you pass the array itself, it would just be
arrayName.splice(index, i)