I cannot understand where is my mistake

I have been creating the Lodash library and trying to implement the .inRange() method. The terminal return that i have an unexpected token on the string 12, but i have not got this, and because of this I cannot pass this part of project.

This is my code.

I need your help, to understand how to handle it.

different file

I cannot understand. What does it mean?

The error is in a different file, it says which


Now I have this :sweat_smile:

Idk. Maybe you didn’t close some parenthesis higher up.
Some of the code you showed earlier had inconsistent indentation (not matching braces) so maybe that’s why you’d have that happening.

Oh, I had an extra curly brace, I have deleted it, and now it works! Thank u

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.