{"ScriptPreparationCode":"var data = [];\r\nvar res = [];\r\n\r\nfetch(\u0027https://jsonplaceholder.typicode.com/posts\u0027)\r\n .then(response =\u003E response.json())\r\n .then(json =\u003E data = json)","TestCases":[{"Name":"slice","Code":"res = data.slice();","IsDeferred":false},{"Name":"concat","Code":"res = data.concat();","IsDeferred":false},{"Name":"forEach","Code":"res = [];\r\ndata.forEach(element =\u003E res.push(element));","IsDeferred":false},{"Name":"Traditional For Loop","Code":"res = [];\r\nfor (let i = 0; i \u003C data.length; i\u002B\u002B) {\r\n\tres.push(data[i]);\r\n}","IsDeferred":false}]}