Tuesday, September 9, 2008

dump() - Javascript equivalent of PHP's print_r() function

The moment I saw the print_r() function of PHP, I fell in love with it. It is a very necessary function and I cannot understand why no other language supports it. JavaScript is one such language. So, I have ported the print_r function to javascript.

http://www.openjs.com/scripts/others/dump_function_php_print_r.php

No comments: