No Image

JavaScript dump() a PHP-s print_r-hez hasonlóan

2013.04.29. legyes 0

/** * Function : dump() * Arguments: The data – array,hash(associative array),object * The level – OPTIONAL * Returns : The textual representation of the array. * This function was inspired by the print_r function of PHP. * This will accept some data as the argument and return a * text that will be a more readable version of the * array/hash/object that is given. * Docs: http://www.openjs.com/scripts/others/dump_function_php_print_r.php */ function [….]