{"ScriptPreparationCode":"var mapStringKeys = new Map([[\u0022one\u0022, true], [\u0022two\u0022, true], [\u0022three\u0022, true], [\u0022four\u0022, true], [\u0022five\u0022, true], [\u0022six\u0022, true], [\u0022seven\u0022, true], [\u0022eight\u0022, true], [\u0022nine\u0022, true], [\u0022ten\u0022, true]]);\r\nvar mapStringAndSymbolKeys = new Map([[\u0022one\u0022, true], [Symbol(\u0022two\u0022), true], [\u0022three\u0022, true], [Symbol(\u0022four\u0022), true], [\u0022five\u0022, true], [Symbol(\u0022six\u0022), true], [\u0022seven\u0022, true], [Symbol(\u0027eight\u0027), true], [\u0022nine\u0022, true], [Symbol(\u0022ten\u0022), true]]);\r\n\r\nfunction random(elements) {\r\n\treturn Math.random() * elements.length - 1\r\n}\r\n\r\nvar stringKeys = Array.from(mapStringKeys.keys());\r\nvar symbolKeys = Array.from(mapStringAndSymbolKeys.keys());","TestCases":[{"Name":"Get string key from map with only string keys","Code":"var value = mapStringKeys.get(random(stringKeys));","IsDeferred":false},{"Name":"Get symbol key from map with mixed string and symbol keys","Code":"var value = mapStringAndSymbolKeys.get(random(symbolKeys));","IsDeferred":false}]}