{"ScriptPreparationCode":"var datas = [\r\n {\r\n id: \u00221\u0022,\r\n name: \u0022One\u0022\r\n },\r\n {\r\n id: \u00222\u0022,\r\n name: \u0022Two\u0022\r\n },\r\n {\r\n id: \u00223\u0022,\r\n name: \u0022Three\u0022\r\n },\r\n {\r\n id: \u00224\u0022,\r\n name: \u0022Four\u0022\r\n },\r\n {\r\n id: \u00225\u0022,\r\n name: \u0022Five\u0022\r\n },\r\n]","TestCases":[{"Name":"For Push","Code":"let tempData = [];\r\nfor (const item of datas) {\r\n tempData.push({\r\n value: item.id,\r\n label: item.name\r\n });\r\n}","IsDeferred":false},{"Name":"Map","Code":"let tempData = datas.map((item) =\u003E ({\r\n value: item.id,\r\n label: item.name\r\n}));","IsDeferred":false}]}