Get your object’s constructor function and then inspect its name property.
myObj.constructor.name
Returns “myClass”.
More Related Contents:
- JavaScript: Inline Script with SRC Attribute?
- Include jQuery in the JavaScript Console
- Palindrome check in Javascript
- Getting the return value of Javascript code in Selenium
- Performance of key lookup in JavaScript object
- How to split comma separated string using JavaScript? [duplicate]
- How can I show a hidden div when a select option is selected?
- Search recursively for value in object by property name
- Decode UTF-8 with Javascript
- pass post data with window.location.href
- Fetching all (javascript) global variables in a page
- How to get the tag HTML with JavaScript / jQuery?
- How to make Google Chrome JavaScript console persistent?
- escaping question mark in regex javascript
- Handling optional parameters in javascript
- How to make jQuery to not round value returned by .width()?
- Does scrollIntoView work in all browsers?
- javascript if number greater than number
- How do I return the accumulated results of multiple (parallel) asynchronous function calls in a loop?
- Node async loop – how to make this code run in sequential order?
- How to set ChartJS Y axis title?
- Object.getOwnPropertyNames vs Object.keys
- Change route params without reloading in Angular 2
- html2canvas does not work with Google Maps Pan
- Adding text to beginning of each array element
- Can I remove just the popup bubbles of POI’s in Google Maps API v3?
- Share a single service between multiple angular.js apps
- Ember.js and RequireJS
- Reload an IFRAME without adding to the history
- How to add a onclick event to an element using javascript