79303761

Date: 2024-12-23 17:17:11
Score: 0.5
Natty:
Report link

The ".includes()" method doesn't work in this case

.includes is available on array objects (searches if the array has the value).

Otherwise, using ".has()", it works

.has is available on Map objects (searches if the Map contains Key).

Your object is of type 'Map'

const quantWords = new Map();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brendan B