Skip to content
← Back to Community
Funny green text in console after running setTimeout function
Profile icon
CarlyRaeJepsenS

I'm running the linked repl -- it has a delay function in it. When I run the code, there's a bunch of green text that shows up. What is it for? Does it signify something?

Answered by Geocube101 [earned 5 cycles]
View Answer
Voters
Profile icon
TanviMeena
Profile icon
CarlyRaeJepsenS
Comments
hotnewtop
Profile icon
Geocube101

Green text shows the output of the last called function. In this case, what shows up is all data that the function setTimeout returns

Profile icon
CarlyRaeJepsenS

@Geocube101 Ok, thanks!

Profile icon
Geocube101

@CarlyRaeJepsenS You're welcome