{"ScriptPreparationCode":"const map = new Map();\r\nconst obj = {};\r\n\r\nconst count = 1000\r\nconst l = []\r\n\r\nfor (let x=0; x\u003C=count; x\u002B\u002B) {\r\n l.push([[\u0027\u0027\u002Bx, x]])\r\n}\r\n\r\nfunction bMap() {\r\n \u0027use strict\u0027\r\n for (let j = 0; i\u002Bj \u003C count; j\u002B\u002B){\r\n for (let i = 0; i \u003C count; i\u002B\u002B) {\r\n const [k, v] = l[i]\r\n const n = map.get(k)\r\n if (n !== undefined) {\r\n map.set(k, v)\r\n } else {\r\n map.set(k, v\u002Bj)\r\n }\r\n }\r\n }\r\n}\r\n\r\nfunction bObj() {\r\n \u0027use strict\u0027\r\n for (let j = 0; i\u002Bj \u003C count; j\u002B\u002B){\r\n for (let i = 0; i \u003C count; i\u002B\u002B) {\r\n const [k, v] = l[i]\r\n const n = obj[k]\r\n if (n !== undefined) {\r\n obj[k] = v\r\n } else {\r\n obj[k] = v\u002Bj\r\n }\r\n }\r\n }\r\n}","TestCases":[{"Name":"Map lookup","Code":"bMap()","IsDeferred":false},{"Name":"Obj lookup","Code":"bObj()","IsDeferred":false}]}