Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getObjectType (obj) {
- return Object.prototype.toString.call(obj).slice(8, -1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement