{"ScriptPreparationCode":"var sparse_array = [];\r\nvar object = {};\r\nvar map = new Map();\r\n\r\nvar known_keys = [];\r\n\r\nfor(i=0; i\u003C10000; i\u002B\u002B) {\r\n\tconst index = Math.floor(Math.random()*Number.MAX_SAFE_INTEGER);\r\n const val = {id:index};\r\n // Insert the val into all the containers\r\n known_keys.push(index);\r\n sparse_array[index] = val;\r\n object[index] = val;\r\n map.set(index, val);\r\n}","TestCases":[{"Name":"Sparse Array","Code":"for(const key of known_keys) {\r\n const val = sparse_array[key];\r\n}","IsDeferred":false},{"Name":"Object","Code":"for(const key of known_keys) {\r\n const val = object[key];\r\n}","IsDeferred":false},{"Name":"Map","Code":"for(const key of known_keys) {\r\n const val = map.get(key);\r\n}","IsDeferred":false}]}