{"ScriptPreparationCode":"var arr = [];\r\nvar map = new Map();\r\n\r\nfor (let i = 0; i \u003C 12000; i\u002B\u002B) {\r\n const num = i * 7 \u002B Math.ceil(Math.random() * 5); \r\n const str = (Math.random() \u002B 1).toString(36).substring(7);\r\n arr.push(num);\r\n map.set(num, str);\r\n}\r\n","TestCases":[{"Name":"arr to map lookup","Code":"for (let i = 0;i \u003C arr.length; i\u002B\u002B) {\r\nlet num = arr[i];\r\n let str = map.get(num) || \u0027\u0027;\r\n}","IsDeferred":false},{"Name":"map foreach","Code":"map.forEach((el)=\u003E{})","IsDeferred":false}]}