{"ScriptPreparationCode":null,"TestCases":[{"Name":"Lodash","Code":"const images = {\r\n \u00221280x1840_480\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/C3/C3PgwSGN2kE1BQQh.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2.IoyCRP~pjFxuW=%Mxue.xu%MWUNGs:\u0022,\r\n \u0022height\u0022: 690,\r\n \u0022width\u0022: 480\r\n }\r\n },\r\n \u00221280x1840_720\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/Lr/LrbiRJxUnwT5Trs5.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2-IoyCRP~pjF%2W=%MxujFxu%MaxNGs:\u0022,\r\n \u0022height\u0022: 1035,\r\n \u0022width\u0022: 720\r\n }\r\n }\r\n}\r\n\r\nconst n = Object.keys(images || {})\r\n .reduce((obj, key) =\u003E ({\r\n ...obj,\r\n [key]: {\r\n ..._.pick(images[key], [\u0027downloadUrl\u0027, \u0027id\u0027]),\r\n blurhash: images[key].data?.blurhash,\r\n },\r\n }), {});","IsDeferred":false},{"Name":"Object desctruct","Code":"const images = {\r\n \u00221280x1840_480\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/C3/C3PgwSGN2kE1BQQh.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2.IoyCRP~pjFxuW=%Mxue.xu%MWUNGs:\u0022,\r\n \u0022height\u0022: 690,\r\n \u0022width\u0022: 480\r\n }\r\n },\r\n \u00221280x1840_720\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/Lr/LrbiRJxUnwT5Trs5.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2-IoyCRP~pjF%2W=%MxujFxu%MaxNGs:\u0022,\r\n \u0022height\u0022: 1035,\r\n \u0022width\u0022: 720\r\n }\r\n }\r\n}\r\nconst n = Object.keys(images || {})\r\n .reduce((obj, key) =\u003E ({\r\n ...obj,\r\n [key]: {\r\n downloadUrl: images[key].downloadUrl,\r\n \tid: images[key].id,\r\n blurhash: images[key].data?.blurhash,\r\n },\r\n }), {});","IsDeferred":false},{"Name":"Optimization1","Code":"const images = {\r\n \u00221280x1840_480\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/C3/C3PgwSGN2kE1BQQh.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2.IoyCRP~pjFxuW=%Mxue.xu%MWUNGs:\u0022,\r\n \u0022height\u0022: 690,\r\n \u0022width\u0022: 480\r\n }\r\n },\r\n \u00221280x1840_720\u0022: {\r\n \u0022downloadUrl\u0022: \u0022https://static.manta.net/2022-07-20/Lr/LrbiRJxUnwT5Trs5.jpg\u0022,\r\n \u0022data\u0022: {\r\n \u0022blurhash\u0022: \u0022UjIO2-IoyCRP~pjF%2W=%MxujFxu%MaxNGs:\u0022,\r\n \u0022height\u0022: 1035,\r\n \u0022width\u0022: 720\r\n }\r\n }\r\n}\r\n\r\nconst n = Object.keys(images || {})\r\n .reduce((obj, key) =\u003E {\r\n obj[key] = {\r\n downloadUrl: images[key].downloadUrl,\r\n id: images[key].id,\r\n blurhash: images[key].data?.blurhash,\r\n }\r\n return obj;\r\n }, {});","IsDeferred":false}]}