79244475

Date: 2024-12-02 14:42:19
Score: 3
Natty:
Report link

You can also do new Set().

const array = [1, 2, 3, 1, 2, 4];
const rmDupArr = [...new Set(array)];
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rovshenhojayev