{"ScriptPreparationCode":"var a = { a: 1, b:2, c:3, d:4, e: 5, f: 6 }","TestCases":[{"Name":"For ... in length test","Code":"let sum = 0;\r\nfor (var x in a ) {\r\n sum\u002B\u002B;\r\n}","IsDeferred":false},{"Name":"Object.keys length test","Code":"Object.keys(a).length","IsDeferred":false},{"Name":"Object.values length test","Code":"Object.values(a).length","IsDeferred":false},{"Name":"Object.entries length test","Code":"Object.entries(a).length","IsDeferred":false},{"Name":"For In Reduce test","Code":"let sum = 0;\r\nfor (var x in a ) {\r\n sum \u002B= a[x]\r\n}","IsDeferred":false},{"Name":"Object.keys Reduce test","Code":"Object.keys(a).reduce((prev, curr) =\u003E {\r\n var sum = prev \u002B a[curr];\r\n\treturn sum;\r\n}, 0)","IsDeferred":false},{"Name":"Object.values Reduce test","Code":"Object.values(a).reduce((prev, curr) =\u003E {\r\n return prev \u002B curr;\r\n}, 0);","IsDeferred":false},{"Name":"Object.entries reduce test","Code":"Object.entries(a).reduce((prev, curr) =\u003E {\r\n return prev \u002B curr[1]\r\n}, 0)","IsDeferred":false}]}