{"ScriptPreparationCode":"const obj = {\r\n ID: \u0027332\u0027,\r\n ACCOMPLICES: [],\r\n ACTIVITY_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n ALLOW_CHANGE_DEADLINE: \u0022N\u0022,\r\n ALLOW_TIME_TRACKING: \u0022N\u0022,\r\n AUDITORS: [],\r\n CHANGED_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n CHECKLIST: [],\r\n CREATED_BY: \u00221\u0022,\r\n DEADLINE: \u00222023-03-10T19:00:00\u002B03:00\u0022,\r\n DESCRIPTION: \u0022\u0022,\r\n DURATION_PLAN: \u00220\u0022,\r\n DURATION_TYPE: \u0022days\u0022,\r\n END_DATE_PLAN: null,\r\n GROUP_ID: null,\r\n MARK: null,\r\n MATCH_WORK_TIME: \u0022N\u0022,\r\n PRIORITY: \u00221\u0022,\r\n RESPONSIBLE_ID: \u00221\u0022,\r\n START_DATE_PLAN: \u00222023-03-08T23:58:00\u002B03:00\u0022,\r\n STATUS: \u00222\u0022,\r\n TASK_CONTROL: \u0022N\u0022,\r\n TIME_ESTIMATE: null,\r\n TIME_SPENT_IN_LOGS: \u00220\u0022,\r\n TITLE: \u0022switches\u0022,\r\n UF_CRM_TASK: [],\r\n UF_TASK_WEBDAV_FILES: [\u0022n186\u0022, \u0022n188\u0022, \u0022n190\u0022, \u0022n192\u0022, \u0022n708\u0022, \u0022n710\u0022],\r\n}\r\nconst arr = [];\r\n\r\nfor (const idx of [...Array(10000).keys()]) {\r\n\r\n arr.push({\r\n ...obj,\r\n ID: idx\r\n })\r\n}","TestCases":[{"Name":"filter","Code":"const obj = {\r\n ID: \u0027332\u0027,\r\n ACCOMPLICES: [],\r\n ACTIVITY_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n ALLOW_CHANGE_DEADLINE: \u0022N\u0022,\r\n ALLOW_TIME_TRACKING: \u0022N\u0022,\r\n AUDITORS: [],\r\n CHANGED_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n CHECKLIST: [],\r\n CREATED_BY: \u00221\u0022,\r\n DEADLINE: \u00222023-03-10T19:00:00\u002B03:00\u0022,\r\n DESCRIPTION: \u0022\u0022,\r\n DURATION_PLAN: \u00220\u0022,\r\n DURATION_TYPE: \u0022days\u0022,\r\n END_DATE_PLAN: null,\r\n GROUP_ID: null,\r\n MARK: null,\r\n MATCH_WORK_TIME: \u0022N\u0022,\r\n PRIORITY: \u00221\u0022,\r\n RESPONSIBLE_ID: \u00221\u0022,\r\n START_DATE_PLAN: \u00222023-03-08T23:58:00\u002B03:00\u0022,\r\n STATUS: \u00222\u0022,\r\n TASK_CONTROL: \u0022N\u0022,\r\n TIME_ESTIMATE: null,\r\n TIME_SPENT_IN_LOGS: \u00220\u0022,\r\n TITLE: \u0022switches\u0022,\r\n UF_CRM_TASK: [],\r\n UF_TASK_WEBDAV_FILES: [\u0022n186\u0022, \u0022n188\u0022, \u0022n190\u0022, \u0022n192\u0022, \u0022n708\u0022, \u0022n710\u0022],\r\n}\r\nconst arr = [];\r\n\r\nfor (const idx of [...Array(10000).keys()]) {\r\n\r\n arr.push({\r\n ...obj,\r\n ID: idx\r\n })\r\n}\r\n\r\nconst newArr = arr.filter((item) =\u003E item.ID % 2);","IsDeferred":false},{"Name":"for ","Code":"const obj = {\r\n ID: \u0027332\u0027,\r\n ACCOMPLICES: [],\r\n ACTIVITY_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n ALLOW_CHANGE_DEADLINE: \u0022N\u0022,\r\n ALLOW_TIME_TRACKING: \u0022N\u0022,\r\n AUDITORS: [],\r\n CHANGED_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n CHECKLIST: [],\r\n CREATED_BY: \u00221\u0022,\r\n DEADLINE: \u00222023-03-10T19:00:00\u002B03:00\u0022,\r\n DESCRIPTION: \u0022\u0022,\r\n DURATION_PLAN: \u00220\u0022,\r\n DURATION_TYPE: \u0022days\u0022,\r\n END_DATE_PLAN: null,\r\n GROUP_ID: null,\r\n MARK: null,\r\n MATCH_WORK_TIME: \u0022N\u0022,\r\n PRIORITY: \u00221\u0022,\r\n RESPONSIBLE_ID: \u00221\u0022,\r\n START_DATE_PLAN: \u00222023-03-08T23:58:00\u002B03:00\u0022,\r\n STATUS: \u00222\u0022,\r\n TASK_CONTROL: \u0022N\u0022,\r\n TIME_ESTIMATE: null,\r\n TIME_SPENT_IN_LOGS: \u00220\u0022,\r\n TITLE: \u0022switches\u0022,\r\n UF_CRM_TASK: [],\r\n UF_TASK_WEBDAV_FILES: [\u0022n186\u0022, \u0022n188\u0022, \u0022n190\u0022, \u0022n192\u0022, \u0022n708\u0022, \u0022n710\u0022],\r\n}\r\nconst arr = [];\r\n\r\nfor (const idx of [...Array(10000).keys()]) {\r\n\r\n arr.push({\r\n ...obj,\r\n ID: idx\r\n })\r\n}\r\n\r\nconst newArr = [];\r\nfor(let i = 0; i \u003C arr.length; i\u002B\u002B) {\r\n if(arr[i].ID % 2){\r\n newArr.push(arr[i]);\r\n }\r\n}","IsDeferred":false},{"Name":"for of","Code":"const obj = {\r\n ID: \u0027332\u0027,\r\n ACCOMPLICES: [],\r\n ACTIVITY_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n ALLOW_CHANGE_DEADLINE: \u0022N\u0022,\r\n ALLOW_TIME_TRACKING: \u0022N\u0022,\r\n AUDITORS: [],\r\n CHANGED_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n CHECKLIST: [],\r\n CREATED_BY: \u00221\u0022,\r\n DEADLINE: \u00222023-03-10T19:00:00\u002B03:00\u0022,\r\n DESCRIPTION: \u0022\u0022,\r\n DURATION_PLAN: \u00220\u0022,\r\n DURATION_TYPE: \u0022days\u0022,\r\n END_DATE_PLAN: null,\r\n GROUP_ID: null,\r\n MARK: null,\r\n MATCH_WORK_TIME: \u0022N\u0022,\r\n PRIORITY: \u00221\u0022,\r\n RESPONSIBLE_ID: \u00221\u0022,\r\n START_DATE_PLAN: \u00222023-03-08T23:58:00\u002B03:00\u0022,\r\n STATUS: \u00222\u0022,\r\n TASK_CONTROL: \u0022N\u0022,\r\n TIME_ESTIMATE: null,\r\n TIME_SPENT_IN_LOGS: \u00220\u0022,\r\n TITLE: \u0022switches\u0022,\r\n UF_CRM_TASK: [],\r\n UF_TASK_WEBDAV_FILES: [\u0022n186\u0022, \u0022n188\u0022, \u0022n190\u0022, \u0022n192\u0022, \u0022n708\u0022, \u0022n710\u0022],\r\n}\r\nconst arr = [];\r\n\r\nfor (const idx of [...Array(10000).keys()]) {\r\n\r\n arr.push({\r\n ...obj,\r\n ID: idx\r\n })\r\n}\r\n\r\nconst newArr = [];\r\nfor(const item of arr) {\r\n if(item.ID % 2 ) {\r\n newArr.push(item);\r\n }\r\n}","IsDeferred":false},{"Name":"forEach","Code":"const obj = {\r\n ID: \u0027332\u0027,\r\n ACCOMPLICES: [],\r\n ACTIVITY_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n ALLOW_CHANGE_DEADLINE: \u0022N\u0022,\r\n ALLOW_TIME_TRACKING: \u0022N\u0022,\r\n AUDITORS: [],\r\n CHANGED_DATE: \u00222023-03-13T00:01:35\u002B03:00\u0022,\r\n CHECKLIST: [],\r\n CREATED_BY: \u00221\u0022,\r\n DEADLINE: \u00222023-03-10T19:00:00\u002B03:00\u0022,\r\n DESCRIPTION: \u0022\u0022,\r\n DURATION_PLAN: \u00220\u0022,\r\n DURATION_TYPE: \u0022days\u0022,\r\n END_DATE_PLAN: null,\r\n GROUP_ID: null,\r\n MARK: null,\r\n MATCH_WORK_TIME: \u0022N\u0022,\r\n PRIORITY: \u00221\u0022,\r\n RESPONSIBLE_ID: \u00221\u0022,\r\n START_DATE_PLAN: \u00222023-03-08T23:58:00\u002B03:00\u0022,\r\n STATUS: \u00222\u0022,\r\n TASK_CONTROL: \u0022N\u0022,\r\n TIME_ESTIMATE: null,\r\n TIME_SPENT_IN_LOGS: \u00220\u0022,\r\n TITLE: \u0022switches\u0022,\r\n UF_CRM_TASK: [],\r\n UF_TASK_WEBDAV_FILES: [\u0022n186\u0022, \u0022n188\u0022, \u0022n190\u0022, \u0022n192\u0022, \u0022n708\u0022, \u0022n710\u0022],\r\n}\r\nconst arr = [];\r\n\r\nfor (const idx of [...Array(10000).keys()]) {\r\n\r\n arr.push({\r\n ...obj,\r\n ID: idx\r\n })\r\n}\r\n\r\nconst newArr = [];\r\narr.forEach(el =\u003E { \r\n if(el.ID % 2){\r\n newArr.push(el);\r\n}\r\n}\r\n);","IsDeferred":false}]}