{"ScriptPreparationCode":"// Build array\r\n\r\n// Search term\r\nconst string = \u0027bingo\u0027;","TestCases":[{"Name":"includes","Code":"const array = new Array(1000).fill(null).map(() =\u003E \u0027no match found\u0027).concat([\u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027]);\r\narray.filter(i =\u003E i.includes(\u0027bingo\u0027));","IsDeferred":false},{"Name":"indexOf","Code":"const array = new Array(1000).fill(null).map(() =\u003E \u0027no match found\u0027).concat([\u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027]);\r\n\r\narray.filter(i =\u003E i.indexOf(\u0027bingo\u0027) !== -1);","IsDeferred":false},{"Name":"regex match","Code":"const array = new Array(1000).fill(null).map(() =\u003E \u0027no match found\u0027).concat([\u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027]);\r\n\r\narray.filter(i =\u003E i.match(/bingo/));","IsDeferred":false},{"Name":"regex match case-insensitive","Code":"const array = new Array(1000).fill(null).map(() =\u003E \u0027no match found\u0027).concat([\u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027, \u0027bingo\u0027]);\r\n\r\narray.filter(i =\u003E i.match(/bingo/i));","IsDeferred":false}]}