{"ScriptPreparationCode":"var viewList = [];\r\nvar randomIds = [ 279, 272, 402, 180, 152, 418, 18, 27, 351, 3 ]\r\n\r\nfor (var i = 0; i \u003C 10; \u002B\u002Bi) {\r\n viewList.push({ value: {viewId: randomIds[i]}});\r\n}","TestCases":[{"Name":"Math.max()","Code":"return Math.max(...viewList.map(view =\u003E view.value.viewId));","IsDeferred":false},{"Name":"for..if","Code":"var largestId = 0;\r\nfor (var view of viewList) {\r\n if (view.value.viewId \u003E largestId) {\r\n largestId = view.value.viewId;\r\n }\r\n}\r\nreturn largestId;","IsDeferred":false}]}