Does anyone help me to solve the "Days Of The Week Exercise" in JavaScript? I searched MDN and tried many times as much as I can, but I still don't get what the null is, and how to use null.
if the argument(num) is less than 1 or greater than 7, the function should return null.

const days = ['Monday','Tuesyday','Wednesday','Thursday','Friday','Saturday','Sunday'];
let returnDay = (num) => {
if (1 <= num <= 7) {
return (days[num -1]);
} else {
return null;
}
};
returnDay(1); // Monday
returnDay(7); // Sunday
returnDay(4); // Thursday
returnDay(0); // null
return null;as that is valid, null is just a normal value with a few weird evaluation propertiesundefinedornull?