79772165

Date: 2025-09-23 02:38:03
Score: 1.5
Natty:
Report link

Try replacing var with let. When using var, all onClick handlers reference the same variable that retains its final value after loop completion.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hashan Hemachandra