Javascript logo

There's an equivalent in jQuery to PHP function print_r($array). It's good when you want to see an associative array. Especially, if you get it via some function.

In my case function 'GetServiceItems(int id)' should return me some data. To see the result I can use JSON.stringify() function to convert it into a string.