{"ScriptPreparationCode":"var arr100 = Array.from({length: 100}, () =\u003E Math.floor(Math.random() * 100000));\r\nvar set100 = new Set(arr100);\r\n\r\n//const arr1000 = Array.from({length: 1000}, () =\u003E Math.floor(Math.random() * 100000));\r\n//const set1000 = new Set(arr100);\r\n\r\nvar arr10000 = Array.from({length: 10000}, () =\u003E Math.floor(Math.random() * 100000));\r\nvar set10000 = new Set(arr10000);\r\n\r\n//const arr100000 = Array.from({length: 100000}, () =\u003E Math.floor(Math.random() * 100000));\r\n//const set100000 = new Set(arr100000);\r\n\r\nvar arr1000000 = Array.from({length: 1000000}, () =\u003E Math.floor(Math.random() * 100000));\r\nvar set1000000 = new Set(arr1000000);","TestCases":[{"Name":"arr 100 (includes)","Code":"return arr100.includes(1927);","IsDeferred":false},{"Name":"arr 100 (indexOf)","Code":"return arr100.indexOf(1927) !== -1;","IsDeferred":false},{"Name":"set 100","Code":"return set100.has(1927);","IsDeferred":false},{"Name":"arr 10000 (includes)","Code":"return arr10000.includes(1927);","IsDeferred":false},{"Name":"arr 10000 (indexOf)","Code":"return arr10000.indexOf(1927) !== -1;","IsDeferred":false},{"Name":"set 10000","Code":"return set10000.has(1927);","IsDeferred":false},{"Name":"arr 1000000 (includes)","Code":"return arr1000000.includes(1927);","IsDeferred":false},{"Name":"arr 1000000 (indexOf)","Code":"return arr1000000.indexOf(1927) !== -1;","IsDeferred":false},{"Name":"set 1000000","Code":"return set1000000.has(1927);","IsDeferred":false}]}