{"ScriptPreparationCode":"var users = [\r\n { \u0027user\u0027: \u0027joey\u0027, \u0027age\u0027: 28 },\r\n { \u0027user\u0027: \u0027ross\u0027, \u0027age\u0027: 31 },\r\n { \u0027user\u0027: \u0027chandler\u0027, \u0027age\u0027: 30 },\r\n { \u0027user\u0027: \u0027jessika\u0027, \u0027age\u0027: 21 },\r\n { \u0027user\u0027: \u0027amanda\u0027, \u0027age\u0027: 17 }\r\n]\r\n","TestCases":[{"Name":"Native findIndex","Code":"let index = users.findIndex((u, idx) =\u003E {if (idx \u003C 2) return false; return u.age === 30})\r\nlet user = users[index]","IsDeferred":false},{"Name":"_.findIndex","Code":"let index = _.findIndex(users, u =\u003E u.age === 30, 2)\r\nlet user = users[index]","IsDeferred":false}]}