{"ScriptPreparationCode":"var map = new Map();\r\nvar obj = {};\r\n\r\nvar j = 0;\r\nwhile (j \u003C 10000) {\r\n var key = \u0022Key_\u0022 \u002B j;\r\n map.set(key, 5);\r\n obj[key] = 5;\r\n j \u002B= 1;\r\n}\r\n\r\nvar stringKey = \u0027asdfasdjfa;sjfjaklfjklsjklajjjj;jlsjfajdfsfjs;fjsfka\u0027;\r\n\r\nvar i = 0, count = 1000, a;","TestCases":[{"Name":"Map lookup","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = map.has(\u0027stringKey\u0027);\r\n}","IsDeferred":false},{"Name":"Obj lookup","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = obj.hasOwnProperty(\u0027stringKey\u0027);\r\n}","IsDeferred":false},{"Name":"direct check","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n\ta = obj[\u0027stringKey\u0027] != null\r\n}","IsDeferred":false}]}