{"ScriptPreparationCode":null,"TestCases":[{"Name":"every","Code":"const a = [1, 2, 3, 4, 5];\r\nconst b = [1, 2, 4, 5, 3, 5];\r\na.every(x =\u003E b.some(y =\u003E x === y));","IsDeferred":false},{"Name":"for of loop","Code":"const a = [1, 2, 3, 4, 5];\r\nconst b = [1, 2, 4, 5, 3, 5];\r\nfor (let x of a) {\r\n \tif (!b.some(y =\u003E x === y)) {\r\n \tbreak; \r\n }\r\n}","IsDeferred":false},{"Name":"for loop","Code":"const a = [1, 2, 3, 4, 5];\r\nconst b = [1, 2, 4, 5, 3, 5];\r\nfor (let i = 0; i \u003C a.length; i\u002B\u002B) {\r\n \tif (!b.some(y =\u003E a[i] === y)) {\r\n \tbreak; \r\n }\r\n}","IsDeferred":false},{"Name":"reduce","Code":"const a = [1, 2, 3, 4, 5];\r\nconst b = [1, 2, 4, 5, 3, 5];\r\na.reduce((x, y, i) =\u003E i === 0 ? b.some(p =\u003E p === x) : b.some(p =\u003E p === y))","IsDeferred":false},{"Name":"reduce 2","Code":"const a = [1, 2, 3, 4, 5];\r\nconst b = [1, 2, 4, 5, 3, 5];\r\na.reduce(function (x, y, i) {\r\n return i === 0 ? b.some(p =\u003E p === x) : b.some(p =\u003E p === y)\r\n})","IsDeferred":false}]}