In my experience you'd want to set that part of the array to some "empty value" because it makes it much easier to map the contents of the array to canvas (otherwise each piece will need its own x and y coordinate).
If however you really think it'll be better to remove the piece try using 'splice'
e.g.
var array = [2, 5, 9];
console.log(array)
var index = array.indexOf(5);
if (index > -1) {
array.splice(index, 1);
}
// array = [2, 9]
console.log(array);
from:
https://stackoverflow.com/a/5767335/8448005