function show(n) { document.write(n + "\t"); if (n > 0) { show(n - 1); } else { document.write("<---->"); } document.write(n + "\t"); } show( 4 ); </script>
JS递归,对称美
原文:http://www.cnblogs.com/seedclang/p/7094791.html