{"ScriptPreparationCode":"var selected = [{ id: \u00271\u0027 }, { id: \u00272\u0027 }, { id: \u00273\u0027 }];","TestCases":[{"Name":"Native find","Code":"var found = selected.find(m =\u003E m.id === \u00273\u0027);","IsDeferred":false},{"Name":"Lodash find","Code":"var found = _.find(selected, m =\u003E m.id === \u00273\u0027);","IsDeferred":false},{"Name":"Lodash some","Code":"var found = _.some(selected, m =\u003E m.id === \u00273\u0027)","IsDeferred":false},{"Name":"Native some","Code":"var found = selected.some(m =\u003E m.id === \u00273\u0027)","IsDeferred":false},{"Name":"Native find index","Code":"var found = selected.findIndex(m =\u003E m.id === \u00273\u0027)","IsDeferred":false},{"Name":"Complex","Code":"var indexes = selected.map(s =\u003E s.id);\r\nvar found = selected.includes(\u00273\u0027);","IsDeferred":false},{"Name":"Lodash find index","Code":"var found = _.findIndex(selected, m =\u003E m.id === \u00273\u0027);","IsDeferred":false}]}