{"ScriptPreparationCode":"var obj = {\r\n \u0027a\u0027: {\r\n id: \u0027a\u0027,\r\n num: 1\r\n },\r\n \u0027b\u0027: {\r\n id: \u0027b\u0027,\r\n num: 1\r\n },\r\n \u0027c\u0027: {\r\n id: \u0027c\u0027,\r\n num: 1\r\n },\r\n \u0027d\u0027: {\r\n id: \u0027d\u0027,\r\n num: 1\r\n },\r\n \u0027e\u0027: {\r\n id: \u0027e\u0027,\r\n num: 1\r\n },\r\n \u0027f\u0027: {\r\n id: \u0027f\u0027,\r\n num: 1\r\n },\r\n \u0027g\u0027: {\r\n id: \u0027g\u0027,\r\n num: 1\r\n },\r\n};","TestCases":[{"Name":"for-in","Code":"for (var i=10000; i \u003E 0; i--) {\r\n let sum = 0;\r\n for (let key in obj) {\r\n sum \u002B= obj[key].num; \r\n }\r\n}","IsDeferred":false},{"Name":"Object.keys","Code":"for (var i=10000; i \u003E 0; i--) {\r\n let sum = 0;\r\n for (let key of Object.keys(obj)) {\r\n sum \u002B= obj[key].num;\r\n }\r\n}","IsDeferred":false},{"Name":"Object.values","Code":"for (var i=10000; i \u003E 0; i--) {\r\n let sum = 0;\r\n for (let value of Object.values(obj)) {\r\n sum \u002B= value.num;\r\n }\r\n}","IsDeferred":false}]}