Can't understand why I'm getting errors on .clamp in Lodash

So, I watched the video guide provided, and I even make sure it’s like the video, and hers shows all green on the test run in NODE, but I get two errors. Can someone help me figure out why I am seeing these errors?

Hello,

You should double check the order of the parameters: Lodash .clamp()

Your logic may be sound, but the parameters don’t have the values you think they do, so it’s throwing everything off

Thank you!! So simple…

Can someone tell me what is happening with my code:

const _ = {
 clamp(number, lower, upper){
    let lowerClampedValue = Math.max(number, lower);
    let clampedValue = Math.min(lowerClampedValue, upper);
    return clampedValue;
  },


};



I’m getting a clamp is not defined error…

Thanks!

You have to press the Save button under the editor before you run any of the tests in the terminal or it won’t have access to the updated code.

Thank you for your help!