{"ScriptPreparationCode":"var xs = [\r\n [\u0022foo1\u0022, \u0022bar\u0022],\r\n [\u0022foo2\u0022, \u0022bar\u0022],\r\n [\u0022foo3\u0022, \u0022bar\u0022],\r\n [\u0022foo4\u0022, \u0022bar\u0022],\r\n [\u0022foo5\u0022, \u0022bar\u0022],\r\n [\u0022foo6\u0022, \u0022bar\u0022],\r\n [\u0022foo7\u0022, \u0022bar\u0022],\r\n [\u0022foo8\u0022, \u0022bar\u0022],\r\n [\u0022foo9\u0022, \u0022bar\u0022],\r\n [\u0022foo10\u0022, \u0022bar\u0022],\r\n [\u0022foo11\u0022, \u0022bar\u0022],\r\n [\u0022foo12\u0022, \u0022bar\u0022],\r\n];","TestCases":[{"Name":"Object.fromPairs","Code":"Object.fromEntries(xs)","IsDeferred":false},{"Name":"Array.reduce(...)","Code":"xs.reduce((agg, [k, v]) =\u003E ({ ...agg, [k]: v }), {}); ","IsDeferred":false},{"Name":"for loop","Code":"let r = {};\r\nfor (let i = 0; i \u003C xs.length; i\u002B\u002B) {\r\n r[xs[i][0]] = xs[i][1];\r\n}","IsDeferred":false}]}