{"ScriptPreparationCode":null,"TestCases":[{"Name":"map","Code":"const arr = [1,2,3,4,5]\r\nconst newArr = arr.map(e=\u003Ee)","IsDeferred":false},{"Name":"array.from","Code":"const arr = [1,2,3,4,5]\r\nconst newArr = Array.from(arr)","IsDeferred":false},{"Name":"for loop","Code":"const arr = [1,2,3,4,5]\r\nlet 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 arr = [1,2,3,4,5]\r\nlet newArr = []\r\narr.forEach(e =\u003E {\r\n newArr.push(e)\r\n})","IsDeferred":false},{"Name":"slice","Code":"const arr = [1,2,3,4,5]\r\nconst newArr = arr.slice()","IsDeferred":false},{"Name":"spread","Code":"const arr = [1,2,3,4,5]\r\nconst newArr = [...arr]","IsDeferred":false},{"Name":"push","Code":"const arr = [1,2,3,4,5]\r\nconst newArr = []\r\n\r\nfor(let i = 0; i \u003C arr.length; \u002B\u002Bi) newArr.push(arr[i])","IsDeferred":false}]}