Print the number in rverse order

How can i print the numbers in descending order without using looping structure in php/javascript

Questions by bhaskarreddy84

Showing Answers 1 - 3 of 3 Answers

Satya

  • Nov 14th, 2012
 

Code
  1. function reverse(str){

  2.     return str.split("").reverse().join("");

  3. }

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions