DEV Community


Discussion on: Do you leave jokes in your code? If so, please share!

qm3ster profile image
Mihail Malo

What do the latter two actually do?

cjbrooks12 profile image
Casey Brooks

isUserAMonkey() is actually part of a testing utility. A "monkey" user does a bunch of random clicks and stuff trying to detect strange UI states.

The last one was just a joke, but it does check if GoatSimulator is installed