Full-stack-engineer-career-path - LODASH PROJECT

Hello,
This concerns: full-stack-engineer-career-path - LODASH PROJECT
I get over & over the same synthax error on the inRange method. The systems says that inRange is an “unexpected identifier” and I don’t get it. See screenshot just under:

Can you help me figure out what is the synthax issue here that leads to this error (and yes I saved the code many times).

Thank you

Hi,
It’s hard to tell from your screenshot. My first guess is that the error is actually inside your clamp method which you have minimized. Could have to do with open bracket, parenthesis, quotation mark, something of that nature…

Hello,

I was missing a coma after the clamp method and before the InRange one.
Problem solved.

Thank you,
Johanna

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