getActualSleepHours keeps saying undefined

I am confused and don’t think that I’m doing this correctly. I tried looking at the hints to get some guidance and the console.log(getActualSleepHours()); keeps returning as undefined while getIdealHours returns 49. I’m not sure what I’m missing or doing incorrectly.:

const getSleepHours = day => {
  if (day === 'monday' || day === 'tuesday' || day === 'wednesday' || day === 'thursday' || day === 'friday' || day === 'saturday' || day === 'sunday') {
    return 8
  } else {
    return 'Sleep some more';

const getActualSleepHours = () => {
  getSleepHours('Monday') +
  getSleepHours('Tuesday') +
  getSleepHours('Wednesday') +
  getSleepHours('Thursday') +
  getSleepHours('Friday') +
  getSleepHours('Saturday') +
const getIdealSleepHours = () => {
  const idealHours = 7;
  return idealHours * 7;

getActualSleepHours doesn’t return anything, so the “default”` of undefined is used

Oh thank you! I wasn’t sure what was going on, but yo’re absolutely right!

I had the same issue. But the hint says “…does not include brackets or the return keyword”, so it should be reworked! Return keyword is definately needed or am I wrong?image

wrong is a strong word. We can write a arrow function the following way:

const example = () => {
   return 'hello world';

however, if the body of the function is a single line, we can write a concise form:

example = () => 'hello world'

when writing the concise form/notation, you have to omit both return keyword and curly brackets/accolades ({})

the hint says as much, although maybe not as clearly

Thanks for the answer!