Is there a JavaScript equivalent of Java\'s class.getName()?
class.getName()
You can use the instanceof operator to see if an object is an instance of another, but since there are no classes, you can't get a class name.