79080014

Date: 2024-10-12 00:57:01
Score: 0.5
Natty:
Report link

You can just replace this line:

const regex = new RegExp(`Section${sectionId}.json$`);

With this one:

const regex = RegExp(`Section${sectionId}.json$`);

I just removed the new keyword.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user2804429