{"ScriptPreparationCode":null,"TestCases":[{"Name":"Set.has (1,000 items)","Code":"const myArray = [];\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n myArray.push(i);\r\n}\r\n\r\nconst mySet = new Set(myArray);\r\nconst contains = mySet.has(999);","IsDeferred":false},{"Name":"Array.includes (1,000 items)","Code":"const myArray = [];\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n myArray.push(i);\r\n}\r\n\r\nconst mySet = new Set(myArray);\r\nconst contains = myArray.includes(i) ? true : false;","IsDeferred":false}]}