Here's a Code Recipe to check if a #JavaScript array contains a value. ... @pixelfixer : And if you want the value returned, you can use Array.find().
確定! 回上一頁