{"ScriptPreparationCode":"var input = [];\r\nvar new_array = [];\r\nfor (var i = 0; i \u003C 500; i\u002B\u002B) {\r\n input.push({\r\n id: i,\r\n data: Math.random()\r\n .toString(36)\r\n .replace(/[^a-z]\u002B/g, \u0022\u0022)\r\n .substr(0, 10),\r\n title: Math.random()\r\n .toString(36)\r\n .replace(/[^a-z]\u002B/g, \u0022\u0022)\r\n .substr(0, 10),\r\n is_active: Math.random() \u003E 0.5 ? true : false,\r\n });\r\n \r\n new_array.push({\r\n id: i,\r\n data: Math.random()\r\n .toString(36)\r\n .replace(/[^a-z]\u002B/g, \u0022\u0022)\r\n .substr(0, 10),\r\n title: Math.random()\r\n .toString(36)\r\n .replace(/[^a-z]\u002B/g, \u0022\u0022)\r\n .substr(0, 10),\r\n is_active: Math.random() \u003E 0.5 ? true : false,\r\n }); \r\n}","TestCases":[{"Name":"Splice","Code":"input.splice(0, input.length, new_array);","IsDeferred":false},{"Name":"Assign array","Code":"input = new_array","IsDeferred":false}]}