このエラーメッセージに関する原因と対処に関して説明します。
エラーメッセージ(英語):
check if value already in array
対処
関連リンク
Determine whether an array contains a value - Stack Overflowstackoverflow.com/.../determine-whether-an-array-cont...
https://stackoverflow.com/questions/1181575/determine-whether-an-array-contains-a-value
Check if an element is present in an array
https://stackoverflow.com/questions/7378228/check-if-an-element-is-present-in-an-array
How to check if array element exists or not in ...
https://stackoverflow.com/questions/13107855/how-to-check-if-array-element-exists-or-not-in-javascri・・・