Help me on Functions & if / else Lesson ;(


#1

What's wrong with this code??


#2

what are you doing? oO

just create a function that return that input? what does your code means?

insert if/else into your function body and remove return numHours, then replace console.log s with return

then call your function out of function body ( after }; ) with 10 and in next line with 5 and in next line with 8


#3

oh! i see... thanks bro