{"ScriptPreparationCode":"var array = [];\r\nfor (var i=0; i\u003C300; \u002B\u002Bi) {\r\n \tarray.push(\u002700\u0027 \u002B i);\r\n}\r\n\r\nfunction hasWithIndexOf(needle) {\r\n\treturn array.indexOf(needle) !== -1;\r\n}\r\n\r\nvar set = new Set(array);\r\n\r\nfunction hasWithMap(needle) {\r\n\treturn set.has(needle);\r\n}","TestCases":[{"Name":"indexOf","Code":"for (var i=0; i\u003C100; \u002B\u002Bi) {\r\n\thasWithIndexOf(\u0027404\u0027);\r\n}","IsDeferred":false},{"Name":"map","Code":"for (var i=0; i\u003C100; \u002B\u002Bi) {\r\n\thasWithMap(\u0027404\u0027);\r\n}","IsDeferred":false}]}