{"ScriptPreparationCode":"/* these functions assume that only one element matches, so they do not loop! */\r\n\r\nfunction deleteBySplice (array) {\r\n array.splice( 100, 1 );\r\n}\r\n\r\nfunction deleteBySlice (array) {\r\n [\r\n ...array.slice(0,100), ...array.slice(101)\r\n ]\r\n}\r\n","TestCases":[{"Name":"Delete by Splice","Code":"deleteBySplice( array );","IsDeferred":false},{"Name":"Delete by Slice","Code":"deleteBySlice( array );","IsDeferred":false}]}