{"ScriptPreparationCode":" var media = {};\r\n const DATA_LENGTH = 4000;\r\n for (let i = 1; i \u003C= DATA_LENGTH; i\u002B\u002B) {\r\n media[\u0022c42dec10-6328-4ac1-97af-63ec8d8d302\u0022 \u002B i] = {\r\n \u0022mediumId\u0022: \u0022c42dec10-6328-4ac1-97af-63ec8d8d302\u0022 \u002B i,\r\n \u0022cid\u0022: \u00221143200002A71\u0022,\r\n \u0022uid\u0022: null,\r\n \u0022active\u0022: true,\r\n \u0022revoked\u0022: false,\r\n \u0022personId\u0022: \u00220e3cf8c1-7a26-4335-9c7a-c133d218011\u0022 \u002B i\r\n };\r\n }","TestCases":[{"Name":"find lodash","Code":"_.find(Object.values(media), { personId:\u00220e3cf8c1-7a26-4335-9c7a-c133d2180112000\u0022, revoked: false })","IsDeferred":false},{"Name":"for in","Code":"var found = null;\r\nfor (let key in media) {\r\n if (media.hasOwnProperty(key)) {\r\n let value = media[key];\r\n if (media[key].personId === \u00220e3cf8c1-7a26-4335-9c7a-c133d2180112000\u0022 \u0026\u0026 media[key].revoked === false) {\r\n\t\t\tfound= media[key];\r\n\t\t\tbreak;\r\n }\r\n }\r\n}","IsDeferred":false},{"Name":"find native","Code":"Object.values(media).find(m =\u003E m.personId === \u00220e3cf8c1-7a26-4335-9c7a-c133d2180112000\u0022 \u0026\u0026 m.revoked === false)","IsDeferred":false}]}