Is it possible to determine the type of a JavaScript object?
See the example below for more context:
var Cat = function() {this.numEyes=2;this.numLegs=4};
var c = new Cat();
How do we determine the type of c.
I am not looking for
(c instanceof Cat)
Essentially how would I get the string Cat given c.