{"ScriptPreparationCode":"var array = [];\r\nvar length = 1000000\r\nfor(var i = 0; i \u003C length; i\u002B\u002B){array.push(Math.random());}","TestCases":[{"Name":"splice","Code":"for(let i = 0; i \u003C array.length-1; i\u002B\u002B){array.splice(i,2,array[i\u002B1],array[i]);}","IsDeferred":false},{"Name":"spread","Code":"for(let i = 0; i \u003C array.length-1; i\u002B\u002B){[array[i\u002B1],array[i]]=[array[i],array[i\u002B1]]}","IsDeferred":false}]}