{"ScriptPreparationCode":"function deleteBySplice (array, index) {\r\n \r\n if (index !== -1) {\r\n \tarray.splice( index, 1 );\r\n }\r\n}\r\n\r\nfunction deleteByDelete (array, index) {\r\n \r\n if (index !== -1) {\r\n \tdelete array[index];\r\n }\r\n}","TestCases":[{"Name":"deleteBySplice","Code":"deleteBySplice( array, index1 );\r\ndeleteBySplice( array, index2 );\r\ndeleteBySplice( array, index3 );","IsDeferred":false},{"Name":"deleteByDelete","Code":"deleteByDelete( array, index1 );\r\ndeleteByDelete( array, index2 );\r\ndeleteByDelete( array, index3 );","IsDeferred":false}]}