js delete object in dict

JavaScript
delete myArray[id_to_remove];
Source

Also in JavaScript: