Javascript – get object's class name in ES5/ES5.1
so in ES6 there is .constructor.name which can be used on any object to get its class name. Is there something in ES5 that can do that? (Note: Before commenters mention to Upgrade the Browser etc., this question is about…