{"ScriptPreparationCode":"arr1 = [[1,2,3],[1,2,3],[1,2,3]]","TestCases":[{"Name":"for..of","Code":"result = []\r\n\r\nfor(const arr of arr1) {\r\n for (const num of arr) {\r\n \tif (num === 2) {\r\n result.push(num) \r\n }\r\n }\r\n}","IsDeferred":false},{"Name":"for each","Code":"result = []\r\n\r\narr1.forEach((arr) =\u003E {\r\n arr.forEach((num) =\u003E {\r\n if(num === 2) {\r\n result.push(num)\r\n }\r\n }) \r\n})","IsDeferred":false}]}