If you don't mind tech-related ads (not tracked), and want to keep us running, whitelist JSFiddle in your blocker.
Thank you! ❤️
Does not seem to work, but saving for reference.
If you use typeof, it will return object as type for many (all?), but not its class. This function, getClass, grabs the class.