inArray function will return the index of element. If element not exist in given array it will return -1. So, we can check it very simply ...
確定! 回上一頁