{"ScriptPreparationCode":null,"TestCases":[{"Name":"for-of","Code":"const array = [1, 4, 6, 7];\r\nlet found;\r\nfor (const item of array) {\r\n if (item === 6) {\r\n found = item;\r\n break;\r\n }\r\n}","IsDeferred":false},{"Name":"findIndex","Code":"const array = [1, 4, 6, 7];\r\nlet found;\r\nconst index = array.findIndex(item =\u003E item === 6);\r\nif (index !== -1) {\r\n found = array[index];\r\n}","IsDeferred":false}]}