The easiest way to determine if an array contains a primitive value is to use array.includes() ES2015 array method: const hasValue = array.
確定! 回上一頁