I created a JavaScript object, but how I can determine the class of that object?
I want something similar to Java\'s .getClass() method.
.getClass()
In javascript, there are no classes, but I think that you want the constructor name and obj.constructor.toString() will tell you what you need.
obj.constructor.toString()