I can't find where the error occurred. at lodash project

I did what the solution video said, but I got an error. I don’t know where the error came from.
Please tell me where the error occurred.TTTT

there is a problem in this line:
invertedObject = { originalValue : key}
With each key within the object passed to the method, the variable originalValue will be overwritten with an object with a single key-value-pair.
The name of the single key will always be ‘originalValue’.
The specification of the key has to take place left of the equal sign in order to add it. On the right side there should only be the new value.

I solved the error! Your advice was a great help. Thank you so much.

1 Like

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