{"ScriptPreparationCode":"var testmap = {};\r\nvar testarray = [];\r\n\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const content = \u0022string\u0022 \u002B i;\r\n \r\n testmap[i] = {\r\n content\r\n };\r\n \r\n testarray.push({\r\n id: i,\r\n content\r\n });\r\n}\r\n\r\nfunction getRandomInt(min, max) {\r\n min = Math.ceil(min);\r\n max = Math.floor(max);\r\n return Math.floor(Math.random() * (max - min)) \u002B min;\r\n}","TestCases":[{"Name":"lodash.findkey","Code":"const str = \u0022string\u0022 \u002B getRandomInt(0, 1000);\r\n_.findKey(testmap, ({content}) =\u003E content === str);","IsDeferred":false},{"Name":"lodash.findindex","Code":"const str = \u0022string\u0022 \u002B getRandomInt(0, 1000);\r\n_.findIndex(testarray, ({content}) =\u003E content === str);","IsDeferred":false}]}