{"ScriptPreparationCode":"var testArr = [];\r\nfor(let i = 0; i \u003C 50; i\u002B\u002B) {\r\n testArr.push(i);\r\n}\r\nvar testSet = new Set(testArr);\r\nvar valuesToCheck = [1, 10, 20, 30, 40 ,50];","TestCases":[{"Name":"Array.includes","Code":"let summ = 0;\r\nvaluesToCheck.forEach(v =\u003E {\r\n\tif (testArr.includes(v)) {\r\n summ \u002B= v;\r\n }\r\n});\r\nreturn summ;","IsDeferred":false},{"Name":"Set.has","Code":"let summ = 0;\r\nvaluesToCheck.forEach(v =\u003E {\r\n\tif (testSet.has(v)) {\r\n summ \u002B= v;\r\n }\r\n});\r\nreturn summ;","IsDeferred":false}]}