79474706

Date: 2025-02-28 06:49:49
Score: 1
Natty:
Report link

This simply checks for duplicates in an array using Set introduced in ES2015 spec

const duplicatesValueExist = (values) => new Set(values).size !== values.length;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mosidrum