Ask coding questions

← Back to all posts
Funny green text in console after running setTimeout function
CarlyRaeJepsenS (1)

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 (590) [earned 5 cycles]
View Answer
Geocube101 (590)

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