{"ScriptPreparationCode":"window.data = [\r\n { id: 1, name: \u0027Alice\u0027 },\r\n { id: 2, name: \u0027Bob\u0027 },\r\n { id: 3, name: \u0027Charlie\u0027 }\r\n];\r\n\r\nwindow.id = 8;","TestCases":[{"Name":"Find","Code":"const exists = data.find(item =\u003E item.id === id) !== undefined","IsDeferred":false},{"Name":"FindIndex","Code":"const exists = data.findIndex(item =\u003E item.id === id) !== -1","IsDeferred":false},{"Name":"flatMap with includes","Code":"const exists = data.flatMap(item =\u003E item.id).includes(id)","IsDeferred":false}]}