{"ScriptPreparationCode":"var arr = [1,2,3,4,5]","TestCases":[{"Name":"map","Code":"const newArr = arr.map(x=\u003Ex)","IsDeferred":false},{"Name":"array.from","Code":"const newArr = Array.from(arr)","IsDeferred":false},{"Name":"for loop","Code":"const newArr = [];\r\nfor(let i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n newArr[i] = arr[i];\r\n}\r\n","IsDeferred":false},{"Name":"foreach","Code":"const newArr = []\r\narr.forEach(e =\u003E {\r\n newArr.push(e)\r\n})","IsDeferred":false},{"Name":"slice","Code":"const newArr = arr.slice()","IsDeferred":false},{"Name":"spread","Code":"const newArr = [...arr]","IsDeferred":false}]}