{"ScriptPreparationCode":"const ITERATIONS = 500000;\r\nvar index = ITERATIONS/2;\r\nvar n = Math.random();\r\n\r\nvar list = [];\r\nfor (let i = 0; i \u003C length; i \u002B= 1) {\r\n list.push(Math.random());\r\n}","TestCases":[{"Name":"Array clone with spread operator","Code":"const clone = [...list];","IsDeferred":false},{"Name":"Array clone with slice","Code":"const clone = list.slice();","IsDeferred":false},{"Name":"Array addition with spread operator","Code":"const clone = [...list, n];","IsDeferred":false},{"Name":"Array addition with slice and push","Code":"const clone = list.slice();\r\nclone.push(n);","IsDeferred":false}]}