{"ScriptPreparationCode":"const counter = 2\r\nconst map = new Map()\r\nconst array = new Array(counter)\r\n\r\nwindow.counter = counter\r\nwindow.map = map\r\nwindow.array = array\r\nfor (let i = 0; i \u003C counter; i\u002B\u002B) {\r\n map.set(i)\r\n array[counter] = i\r\n}","TestCases":[{"Name":"Hashmap","Code":"for (let i = 0; i \u003C 20000; i\u002B\u002B) {\r\n window.map.has(1)\r\n}","IsDeferred":false},{"Name":"Array.filter","Code":"for (let i = 0; i \u003C 20000; i\u002B\u002B) {\r\n window.array.filter((value) =\u003E value === 1)\r\n}","IsDeferred":false}]}