TypeError: myArray.includes is not a function

Working only in web
When running this in Android, getting this error

Just try use Array.indexOf instead for checking to exist element in array

let isExist = myArray.indexOf(element) >= 0;