{"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 const array = []\r\n for (var key in obj) {\r\n array.push({newid: obj[key].id}); \r\n }\r\n}","IsDeferred":false},{"Name":"Object.keys","Code":"for (var i=10000; i \u003E 0; i--) {\r\n const array = []\r\n Object.keys(obj).forEach(key =\u003E array.push({newid: obj[key].id}));\r\n}","IsDeferred":false},{"Name":"Object.values","Code":"for (var i=10000; i \u003E 0; i--) {\r\n const array = []\r\n Object.values(obj).forEach(n =\u003E array.push({newid: n.id}));\r\n}","IsDeferred":false}]}