{"ScriptPreparationCode":"var sample = [...Array(10000)].map((_,i) =\u003E i)","TestCases":[{"Name":"splice() \u0026 unshift()","Code":"let arr = [...sample]\r\n\r\narr.forEach((item, i) =\u003E {\r\n if(item % 3 == 0){\r\n arr.splice(i, 1)\r\n arr.unshift(item)\r\n }\r\n})","IsDeferred":false},{"Name":"sort()","Code":"let arr = [...sample]\r\n\r\narr.sort((i) =\u003E (i % 3 == 0) ? -1 : 0)","IsDeferred":false}]}