I have an [object Object] being passed as an argument through a jQuery function and I want to learn more about it. I don’t want to know anything about this specific situation (unless there is no solution) but how to replicate something like php’s var_dump().
I have an [object Object] being passed as an argument through a jQuery function
Share
You could use
console.log(your_object_instance);and look in the FireBug console in FireFox. This also works with Chrome/Safari developers tools. You will learn everything you need about this object such as properties, methods, …