{"ScriptPreparationCode":"var data = [\r\n {\r\n \u0022SDGHDJJ\u0022: \u0022FDSFSDF\u0022,\r\n \u0022FDSDS\u0022: \u0022GFDGFDG\u0022,\r\n \u00225SDFFD\u0022: \u0022GFDGDFG\u0022,\r\n \u0022353G\u0022: \u0022THFGJGFGF\u0022,\r\n \u00226BDFSD\u0022: \u0022GFDDWERT\u0022,\r\n \u002253523FV\u0022: \u0022HGFHGFHFGHF\u0022,\r\n \u0022FSDGSDGS4\u0022: \u0022FDSFDTYF\u0022,\r\n \u0022532523GSV\u0022: \u0022SADAHHDFG\u0022,\r\n \u0022253GSG\u0022: \u0022GFDGDFHDF\u0022,\r\n \u0022ADFGJKU5\u0022: \u0022GDFJKTRRW\u0022,\r\n \u0022354GFG\u0022: \u0022DSFSDHRRR\u0022\r\n }\r\n];\r\nvar result = [];","TestCases":[{"Name":"Object.keys \u002B map","Code":"result = Object.keys(data[0]).map(prop =\u003E (\r\n { wch: Math.max(prop.toString().length, ...data.map(obj =\u003E obj[prop] ? obj[prop].toString().length : 0)) }\r\n));","IsDeferred":false},{"Name":"for...in \u002B push","Code":"for (const prop in data[0]) {\r\n const maxWidth = Math.max(prop.toString().length, ...data.map(obj =\u003E obj[prop] ? obj[prop].toString().length : 0));\r\n result.push({ wch: maxWidth });\r\n}","IsDeferred":false}]}