Checking Type of Object


/ Published in: JavaScript
Save to your folder(s)

'typeof' and 'instanceof' isn't a reliable method to find out the object class, so this is a function that does this in a more trustable way.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.