Modern browsers have Array#includes , which does exactly that and is widely supported by everyone except IE: console.log(['joe', 'jane', ...
確定! 回上一頁