endsWith
includes
slice
Determines whether an array includes a certain value among its entries.
str.includes(searchStr, position?): boolean