I’ve literally got the exact same code running as in the explainer video however when I run the test file by calling
node test/clamp.js I get the following error which I have no idea how to fix.
The error is
1 - _.clamp() is defined - Failed: _.clamp() was not properly defined.
My code is below: