{"ScriptPreparationCode":"var codes = Array.from(Array(26)).map((_, i) =\u003E i \u002B 65);\r\nvar alphabet = codes.reduce((acc, code) =\u003E {\r\n acc[String.fromCharCode(code)] = code;\r\n\r\n return acc;\r\n}, {});","TestCases":[{"Name":"for-in","Code":"for (var i=1000; i \u003E 0; i--) {\r\n var result = {};\r\n\r\n for (var key in alphabet) {\r\n result[key] = alphabet[key];\r\n }\r\n};","IsDeferred":false},{"Name":"Object.keys with forEach","Code":"for (var i=1000; i \u003E 0; i--) {\r\n var result = {};\r\n\r\n Object.keys(alphabet).forEach(key =\u003E {\r\n result[key] = alphabet[key];\r\n });\r\n};","IsDeferred":false},{"Name":"Object.keys with reduce","Code":"for (var i=1000; i \u003E 0; i--) {\r\n var result = Object.keys(alphabet).reduce((acc, key) =\u003E {\r\n acc[key] = alphabet[key];\r\n\r\n return acc;\r\n }, {});\r\n};","IsDeferred":false},{"Name":"Object.keys with for-of","Code":"for (var i=1000; i \u003E 0; i--) {\r\n var result = {};\r\n\r\n for (var key of Object.keys(alphabet)) {\r\n result[key] = alphabet[key];\r\n }\r\n};","IsDeferred":false},{"Name":"for-in with hasOwnProperty","Code":"for (var i=1000; i \u003E 0; i--) {\r\n var result = {};\r\n\r\n for (var key in alphabet) {\r\n if (Object.prototype.hasOwnProperty.call(alphabet, key)) {\r\n result[key] = alphabet[key];\r\n }\r\n }\r\n};","IsDeferred":false}]}