{"ScriptPreparationCode":null,"TestCases":[{"Name":"slice \u002B concat","Code":"const array = [18, 40, 83, 94, 58, 45, 90, 48, 84, 59, 24, 34, 36, 99, 84, 51, 14, 31, 79, 90, 43, 51, 56, 77, 95, 85, 10, 21, 60, 99, 58, 38, 16, 19, 55, 57, 63, 82, 9, 78, 15, 89, 50, 56, 29, 34, 69, 53, 87, 53, 29, 27, 88, 94, 46, 20, 88, 93, 47, 40, 22, 23, 2, 48, 24, 37, 18, 61, 91, 37, 95, 86, 14, 4, 11, 49, 96, 57, 93, 17, 60, 21, 2, 61, 16, 67, 5, 7, 93, 91, 73, 3, 91, 17, 55, 30, 3, 83, 24, 64];\r\nconst indexToRemove = Math.floor(Math.random() * 100);\r\nconst copy = array.slice(0, indexToRemove).concat(array.slice(indexToRemove \u002B 1))","IsDeferred":false},{"Name":"spread \u002B splice","Code":"const array = [18, 40, 83, 94, 58, 45, 90, 48, 84, 59, 24, 34, 36, 99, 84, 51, 14, 31, 79, 90, 43, 51, 56, 77, 95, 85, 10, 21, 60, 99, 58, 38, 16, 19, 55, 57, 63, 82, 9, 78, 15, 89, 50, 56, 29, 34, 69, 53, 87, 53, 29, 27, 88, 94, 46, 20, 88, 93, 47, 40, 22, 23, 2, 48, 24, 37, 18, 61, 91, 37, 95, 86, 14, 4, 11, 49, 96, 57, 93, 17, 60, 21, 2, 61, 16, 67, 5, 7, 93, 91, 73, 3, 91, 17, 55, 30, 3, 83, 24, 64]\r\nconst indexToRemove = Math.floor(Math.random() * 100); \r\nconst copy = [...array];\r\ncopy.splice(indexToRemove, 1);","IsDeferred":false}]}