{"ScriptPreparationCode":"var obj = Array.from({ length: 10000 }).map((value, i) =\u003E i).reduce((val, v) =\u003E { val[v] = v; return val; }, {})","TestCases":[{"Name":"lodash.each","Code":"const a = [];\r\n_.each(obj, function(v,k) {\r\n a.push(v);\r\n});","IsDeferred":false},{"Name":"native for-of w/ entries","Code":"const a = [];\r\nfor (const [k, v] of Object.entries(obj)) {\r\n a.push(v);\r\n}","IsDeferred":false},{"Name":"native forEach w/ entries","Code":"const a =[];\r\nObject.entries(obj).forEach(function(v, k) {\r\n a.push(v);\r\n})","IsDeferred":false},{"Name":"vanilla for-loop w/ Object.keys","Code":"const a=[];\r\nconst keys = Object.keys(obj);\r\nfor (let i = 0; i \u003C keys.length; i\u002B\u002B) { const v = obj[keys[i]]; \r\n a.push(v);}","IsDeferred":false},{"Name":"vanilla for-loop w/ Object.entries","Code":"const a=[];\r\nconst entries = Object.entries(obj);\r\nfor (let i = 0; i \u003C entries.length; i\u002B\u002B) { const [k, v] = entries[i];\r\n a.push(v);}","IsDeferred":false},{"Name":"vanilla for-loop w/ Object.values (no keys)","Code":"const a =[];\r\nconst values = Object.values(obj);\r\nfor (let i = 0; i \u003C values.length; i\u002B\u002B){ \r\na.push(values[i]);}","IsDeferred":false},{"Name":"native forEach w/ Object.values (no keys)","Code":"const a =[];\r\nObject.values(obj).forEach(function(v) {\r\na.push(v);\r\n})","IsDeferred":false},{"Name":"native for-in","Code":"const a =[];\r\nfor (const prop in obj) { if (obj.hasOwnProperty(prop)) { const v = obj[prop];\r\n a.push(v);} }","IsDeferred":false},{"Name":"map","Code":"const results = Array.from(obj).map(x=\u003Ex);","IsDeferred":false}]}