jquery-inspect icon indicating copy to clipboard operation
jquery-inspect copied to clipboard

jQuery plugin that can inspect any Javascript object

Include the plugin

Call the inspect method $.inspect('This is a string'); // Uses the alert as output by default

$.inspect([1,2,3,4], 'console'); // The console log can also be utilized

$.inspect(document, 'window'); // A new window can be used for larger objects