How to check if an array has duplicate values using JavaScript

preview_player
Показать описание
How to check for duplicates in an array?
How to check if arrays contain same values in JavaScript?
Рекомендации по теме
Комментарии
Автор

You didn't check if there's duplicated values, instead you did remove the duplicates

justinpearson
visit shbcf.ru