Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reverse a number in javascript without using inbuilt function

'ABC PQR XYZ'.split('').reduce((state, value) => {
    return value + state;
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #number #javascript #inbuilt #function
ADD COMMENT
Topic
Name
1+9 =