I need help with error

Question:
I need help with the follow error:

This is my code:

let days = 6;
function getRentalCost(days) {
  // TODO: Write your code here
  let PriceByDay = 35;
    if (days >= 7) {
    return PriceByDay * days - 40;
    } else if (days >= 3) {
    return PriceByDay * days - 10;
    } else if (days < 0) {
    return 0;
  }
}
console.log(getRentalCost(days));

Thank you!

Replit Profile: https://replit.com/@diogoroliveira9


Your program works on my end

Are you sure that you used Node.JS as your template? I couldn’t locate your repl, as it may be private or deleted.

It might be specific to whatever test that’s being run, which wouldn’t be a code issue.