Question: can i have help with this javascript problem? it has to be printed to the console using console.log(). Thanks! 4. Write code that prints: o

can i have help with this javascript problem? it has to be printed to the console using console.log(). Thanks!
can i have help with this javascript problem? it has to be

4. Write code that prints: o "good morning" if the current time is after 5am but before noon o "good afternoon" if after noon but before 5pm o "good evening" if after 5pm but before midnight "go to bed" in any other situation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!