SyntaxFix
Write A Post
Hire A Developer
Questions
The closest you can get is typeof, but it only returns "object" for any sort of custom type. For those, see Jason Bunting.
typeof
Edit, Jason's deleted his post for some reason, so just use Object's constructor property.
constructor