{"ScriptPreparationCode":"function 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; //The maximum is exclusive and the minimum is inclusive\r\n}\r\n\r\nvar users = [{\r\n \u0027user\u0027: \u0027joey\u0027,\r\n \u0027age\u0027: 32\r\n },\r\n {\r\n \u0027user\u0027: \u0027ross\u0027,\r\n \u0027age\u0027: 41\r\n },\r\n {\r\n \u0027user\u0027: \u0027chandler\u0027,\r\n \u0027age\u0027: 39\r\n }\r\n];\r\nfor (var i = 0; i \u003C 1000; i\u002B\u002B) {\r\n users.push({\r\n \u0027user\u0027: \u0027foo\u0027,\r\n \u0027age\u0027: getRandomInt(35, 45)\r\n });\r\n}","TestCases":[{"Name":"array find","Code":"// Native\r\nusers.find(function (o) { return o.age \u003C 40; })","IsDeferred":false},{"Name":"_.find","Code":"_.find(users, function (o) { return o.age \u003C 40; })","IsDeferred":false}]}